diff -r 31a43d94cc26 -r 851de24ecb61 src/File.cpp --- a/src/File.cpp Sun Sep 20 15:14:12 2009 -0700 +++ b/src/File.cpp Sun Sep 20 21:25:47 2009 -0700 @@ -88,7 +88,7 @@ } size_t File::writePadding (int alignment) { - off_t pad = alignment - (position() & (alignment-1)); + int pad = alignment - (int)(position() & (alignment-1)); if (pad == alignment) return 0; uint8_t zero[pad];