Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed some silly compiler warnings.

  • Loading branch information...
commit 5975703b138de43f64990f75ff6527a14c55c484 1 parent fb43787
@andymatuschak andymatuschak authored
Showing with 3 additions and 1 deletion.
  1. +1 −1  SUBinaryDeltaTool.m
  2. +2 −0  bsdiff.c
View
2  SUBinaryDeltaTool.m
@@ -224,7 +224,7 @@ int main(int argc, char **argv)
id value = [newTreeState valueForKey:key];
if ([value isEqual:[NSNull null]]) {
- xar_file_t newFile = xar_add_frombuffer(x, 0, [key fileSystemRepresentation], "", 1);
+ xar_file_t newFile = xar_add_frombuffer(x, 0, [key fileSystemRepresentation], (char *)"", 1);
assert(newFile);
xar_prop_set(newFile, "delete", "true");
continue;
View
2  bsdiff.c
@@ -247,6 +247,8 @@ static void offtout(off_t x, u_char *buf)
buf[7] |= 0x80;
}
+int bsdiff(int argc, char *argv[]); // Added by AMM: suppresses a warning about the following not having a prototype.
+
int bsdiff(int argc, char *argv[])
{
int fd;
Please sign in to comment.
Something went wrong with that request. Please try again.