diff options
Diffstat (limited to 'source/blender/blenlib/intern/fileops.c')
-rw-r--r-- | source/blender/blenlib/intern/fileops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/fileops.c b/source/blender/blenlib/intern/fileops.c index 15277c438f4..ae20eda5a59 100644 --- a/source/blender/blenlib/intern/fileops.c +++ b/source/blender/blenlib/intern/fileops.c @@ -159,7 +159,7 @@ int BLI_gzip(char *from, char *to) { file = open(from,O_BINARY|O_RDONLY); - if ( -1 == file ) return -2; + if (file < 0) return -2; while ( 1 ) { |