--- hal-0.4.2/tools/fstab-sync.c.orig 2007-08-01 12:30:30.000000000 +0000 +++ hal-0.4.2/tools/fstab-sync.c 2007-08-01 12:31:55.000000000 +0000 @@ -467,7 +467,7 @@ fs_table_write (FSTable *table, int fd) { char *fstab_contents; - size_t bytes_written, bytes_to_write; + ssize_t bytes_written, bytes_to_write; fstab_contents = fs_table_to_string (table, &bytes_to_write);