CVS update: php3

From: Date: Sun, 28 Feb 1999 16:53:07 +0000
Subject: CVS update: php3
Groups: php.dev 
Request: Send a blank email to php-dev+get-4358@lists.php.net to get a copy of this message
Date: Sunday February 28, 1999 @ 11:53 Author: rasmus Update of /repository/php3 In directory asf:/u/temp/cvs-serv15373 Modified Files: alloc.c Log Message: sizeof() returns an int, doesn't it? Index: php3/alloc.c diff -c php3/alloc.c:1.80 php3/alloc.c:1.81 *** php3/alloc.c:1.80 Sat Feb 27 11:38:56 1999 --- php3/alloc.c Sun Feb 28 11:53:06 1999 *************** *** 463,469 **** *((long *)(((char *) p) + sizeof(mem_header)+p->size+PLATFORM_PADDING+END_ALIGNMENT(p->size))), MEM_BLOCK_END_MAGIC); fprintf(stderr,"%10s\t",""); if (overflows>=sizeof(long)) { ! fprintf(stderr, "At least %ld bytes overflown\n", sizeof(long)); } else { fprintf(stderr, "%d byte(s) overflown\n", overflows); } --- 463,469 ---- *((long *)(((char *) p) + sizeof(mem_header)+p->size+PLATFORM_PADDING+END_ALIGNMENT(p->size))), MEM_BLOCK_END_MAGIC); fprintf(stderr,"%10s\t",""); if (overflows>=sizeof(long)) { ! fprintf(stderr, "At least %d bytes overflown\n", sizeof(long)); } else { fprintf(stderr, "%d byte(s) overflown\n", overflows); } -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#4358) next »