Mercurial > libpst
diff src/debug.c @ 48:f66078abed38
more fixes for 64 bit format
author | carl |
---|---|
date | Fri, 18 Jan 2008 15:07:12 -0800 |
parents | b2a7f2e0926a |
children | b12f4e50e2e8 |
line wrap: on
line diff
--- a/src/debug.c Sun Jan 13 12:55:59 2008 -0800 +++ b/src/debug.c Fri Jan 18 15:07:12 2008 -0800 @@ -1,11 +1,12 @@ -/* Contains the debug functions */ + +#include "define.h" + #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <ctype.h> #include <string.h> #include <limits.h> -#include "define.h" #ifdef _WIN32 # define vsnprintf _vsnprintf @@ -246,7 +247,7 @@ size_t size, ptr, funcname, filename, text, end; char *buf = NULL, rec_type; if (!debug_fp) return; // no file - off_t index_pos = ftell (debug_fp); + off_t index_pos = ftell(debug_fp); off_t file_pos = index_pos; // add 2. One for the pointer to the next index, // one for the count of this index