Format string fixes.

--- common.c.orig	Tue Mar 13 14:46:18 2001
+++ common.c	Fri Dec 30 19:12:56 2016
@@ -57,7 +57,7 @@ void dump_hex(const char *msg, const unsigned char *bu
     fprintf(stderr,"%s: (%d bytes)\n", msg, len);
     while (len > 0)
     {
-        sprintf(line, "%08x: ", buf - start);
+        sprintf(line, "%08lx: ", buf - start);
         out = line + 10;
 
         for (i = 0, pc = buf, nlocal = len; i < 16; i++, pc++)
@@ -423,8 +423,8 @@ int camera_get_image(char *pathname, char *destfile)
 		timestamp = time(NULL) - timestamp;
 		if (!timestamp)
 			timestamp = 1;
-		printf("\nDownloaded in %ld seconds, %ld bytes/s\n",
-			timestamp, len/timestamp);
+		printf("\nDownloaded in %lld seconds, %lld bytes/s\n",
+			(long long)timestamp, (long long)len/timestamp);
 
 		imagedate = get_date_for_image (orig_pathname);
 		
@@ -530,9 +530,9 @@ int camera_get_thumb(char *pathname, char *destfile)
 		timestamp = time(NULL) - timestamp;
 		if (!timestamp)
 			timestamp = 1;
-		printf("Downloaded in %ld seconds,"
-			" %ld bytes/s\n",
-			timestamp, len/timestamp);
+		printf("Downloaded in %lld seconds,"
+			" %lld bytes/s\n",
+			(long long)timestamp, (long long)len/timestamp);
 		free(image);
 	}
 	return 0;
