compress_parallel.c: Use more appropriate type for shift
authorEric Biggers <ebiggers3@gmail.com>
Sat, 14 Jun 2014 04:37:37 +0000 (23:37 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sat, 14 Jun 2014 04:37:37 +0000 (23:37 -0500)
src/compress_parallel.c

index c33c096580aca7a51c7fb9e40aea3f6981edf5b6..cb49a24c75d23e2618217d6149ef7d0a47393c8f 100644 (file)
@@ -136,7 +136,7 @@ get_avail_memory(void)
 
 default_size:
        WARNING("Failed to determine available memory; assuming 1 GiB");
-       return 1U << 30;
+       return 1ULL << 30;
 }
 
 static int