Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 1906 → Rev 3301

/programs/develop/libraries/newlib/sys/fload.c
15,7 → 15,7
if( !get_fileinfo(path, &info) )
{
 
file = user_alloc( info.size );
file = (void*)user_alloc( info.size );
read_file(path, file, 0, info.size, &bytes );
if( bytes == info.size )
{
23,7 → 23,7
{
void *tmp = NULL;
info.size = ((size_t*)file)[1];
tmp = user_alloc(info.size);
tmp = (void*)user_alloc(info.size);
unpack(file, tmp);
user_free(file);
file = tmp;