From: Kevin D. <kev...@us...> - 2004-04-13 14:21:02
|
Update of /cvsroot/bidwatcher/bidwatcher In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5495 Modified Files: Tag: STABLE_1_3 bidwatcher.h helpers.cpp Log Message: Missed these Index: helpers.cpp =================================================================== RCS file: /cvsroot/bidwatcher/bidwatcher/Attic/helpers.cpp,v retrieving revision 1.90.2.20 retrieving revision 1.90.2.21 diff -u -d -r1.90.2.20 -r1.90.2.21 --- helpers.cpp 13 Apr 2004 14:03:12 -0000 1.90.2.20 +++ helpers.cpp 13 Apr 2004 14:07:01 -0000 1.90.2.21 @@ -606,7 +606,7 @@ unsigned int nlpos; unsigned long long ids[512], numids=0; - unsigned long *retval; + unsigned long long *retval; unsigned int i; while(*Buff) { @@ -625,11 +625,11 @@ (isdigit(lineBuff[2])) && (isdigit(lineBuff[3])) && (isdigit(lineBuff[4])) && (isdigit(lineBuff[8]))) { ids[numids++] = atoul(lineBuff+1); - DPRINTF(DLOW, ("Read id %lu\n", ids[numids-1])); + DPRINTF(DLOW, ("Read id %llu\n", ids[numids-1])); } } - retval = (unsigned long *) malloc(sizeof(unsigned long) * (numids+1)); + retval = (unsigned long long *) malloc(sizeof(unsigned long long) * (numids+1)); for(i=0; i < numids; i++) retval[i] = ids[i]; Index: bidwatcher.h =================================================================== RCS file: /cvsroot/bidwatcher/bidwatcher/Attic/bidwatcher.h,v retrieving revision 1.74.2.14 retrieving revision 1.74.2.15 diff -u -d -r1.74.2.14 -r1.74.2.15 --- bidwatcher.h 11 Apr 2004 23:24:23 -0000 1.74.2.14 +++ bidwatcher.h 13 Apr 2004 14:07:01 -0000 1.74.2.15 @@ -372,7 +372,7 @@ long int CalcTimeLeft (long int endTime, int ebayOffset); void MakeClockTime(int offSet, char *theTime); char *parseRows(const char * fromBuff); -unsigned long *ParseList(char *); +unsigned long long *ParseList(char *); void strip_commas(char *p); void strip_newlines(char *p); void strip_crlf(char *p); |