diff src/readpst.c @ 70:b12f4e50e2e8

Patch from Joachim Metz <joachim.metz@gmail.com> for 64 bit compile. Signed/unsigned cleanup from 'CFLAGS=-Wextra ./configure' Reindent vbuf.c to make it readable.
author Carl Byington <carl@five-ten-sg.com>
date Sun, 11 May 2008 10:04:33 -0700
parents cfd6175f9334
children 3cb02cb1e6cd
line wrap: on
line diff
--- a/src/readpst.c	Sat May 10 12:45:23 2008 -0700
+++ b/src/readpst.c	Sun May 11 10:04:33 2008 -0700
@@ -301,9 +301,9 @@
     DEBUG_ENT("main");
 
     if (mode == MODE_DECSPEW) {
-        FILE *fp;
-        char buf[1024];
-        int l=0;
+        FILE  *fp;
+        char   buf[1024];
+        size_t l = 0;
         if (NULL == (fp = fopen(fname, "rb"))) {
             fprintf(stderr, "Couldn't open file %s\n", fname );
             DEBUG_RET();