]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/commitdiff
src/tlsproxy.c: Fix possible warning.
authorSimon Ruderich <simon@ruderich.org>
Sat, 5 Mar 2011 22:25:47 +0000 (23:25 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sat, 5 Mar 2011 22:25:47 +0000 (23:25 +0100)
src/tlsproxy.c

index 68b5a2edf73854ac211f0443b26d02929f0dd497..396e0acea60b5063fd8b6e33c05a0fdcab55b9ce 100644 (file)
@@ -434,7 +434,8 @@ static int read_from_write_to(int from, int to) {
         return -1;
     }
     if (size_read != size_written) {
-        printf("only written %ld of %ld bytes!\n", size_read, size_written);
+        printf("only written %ld of %ld bytes!\n", (long int)size_read,
+                                                   (long int)size_written);
         return -1;
     }