Made some variables const which eliminated some casts

This commit is contained in:
Dan Fandrich 2008-09-02 17:41:20 +00:00
parent bbc002a505
commit 934708d950
6 changed files with 24 additions and 24 deletions

View file

@ -325,7 +325,7 @@ static char *memdup(const char *src, size_t buffer_length)
}
else
/* no length and a NULL src pointer! */
return strdup((char *)"");
return strdup("");
buffer = (char*)malloc(length+add);
if(!buffer)