[xiph-cvs] cvs commit: paranoia-III/paranoia isort.c
Monty
xiphmont at xiph.org
Sat Apr 7 18:22:24 PDT 2001
xiphmont 01/04/07 18:22:23
Modified: paranoia isort.c
Log:
fixed up two allocations of the wrong type (sort_link * instead of
sort_link and ** instead of *). All are 4 bytes on Intel/GCC so no
damage done to released binaries, but this obviously had to be fixed.
Monty
Revision Changes Path
1.5 +2 -2 paranoia-III/paranoia/isort.c
Index: isort.c
===================================================================
RCS file: /usr/local/cvsroot/paranoia-III/paranoia/isort.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- isort.c 2000/04/19 22:41:04 1.4
+++ isort.c 2001/04/08 01:22:23 1.5
@@ -22,9 +22,9 @@
ret->size=-1;
ret->maxsize=size;
- ret->head=calloc(65536,sizeof(sort_link **));
+ ret->head=calloc(65536,sizeof(sort_link *));
ret->bucketusage=malloc(65536*sizeof(long));
- ret->revindex=calloc(size,sizeof(sort_link *));
+ ret->revindex=calloc(size,sizeof(sort_link));
ret->lastbucket=0;
return(ret);
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list