gcc 4 cleanups (mostly unsigned char* vs char*)

This commit is contained in:
leitner
2005-04-23 15:50:16 +00:00
parent dd5f8d13c3
commit c874604f12
69 changed files with 119 additions and 103 deletions

View File

@@ -6,7 +6,7 @@
* returns 1. If sa is unallocated, stralloc_catb is the same as
* stralloc_copyb. If it runs out of memory, stralloc_catb leaves sa
* alone and returns 0. */
int stralloc_catb(stralloc *sa,const unsigned char *buf,unsigned long int len) {
int stralloc_catb(stralloc *sa,const char *buf,unsigned long int len) {
if (stralloc_readyplus(sa,len)) {
byte_copy(sa->s+sa->len,len,buf);
sa->len+=len;