[sword-cvs] sword/include swbuf.h,1.11,1.12

sword@www.crosswire.org sword@www.crosswire.org
Sun, 30 Mar 2003 17:14:16 -0700


Update of /usr/local/cvsroot/sword/include
In directory www:/tmp/cvs-serv4078/include

Modified Files:
	swbuf.h 
Log Message:
no message

Index: swbuf.h
===================================================================
RCS file: /usr/local/cvsroot/sword/include/swbuf.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** swbuf.h	30 Mar 2003 23:19:20 -0000	1.11
--- swbuf.h	31 Mar 2003 00:14:14 -0000	1.12
***************
*** 38,42 ****
  	char *end;
  	char fillByte;
- 	long size;
  	unsigned int allocSize;
  	static char *nullStr;
--- 38,41 ----
***************
*** 46,50 ****
  		if (newsize > allocSize) {
  			allocSize = newsize + 5;
! 			size = (end - buf);
  			buf = (char *)realloc(buf, allocSize);
  			end = (buf + size);
--- 45,49 ----
  		if (newsize > allocSize) {
  			allocSize = newsize + 5;
! 			long size = (end - buf);
  			buf = (char *)realloc(buf, allocSize);
  			end = (buf + size);