Include <locale.h> in compilation units that use setlocale function.
[libguestfs.git] / tools / virt-make-fs
index 16f02a9..46edbea 100755 (executable)
@@ -393,6 +393,8 @@ if (!defined $size) {
     }
 }
 
+$size = int ($size);
+
 # Create the output disk.
 # Take the unusual step of invoking qemu-img here.