Make Ludwig happy

This commit is contained in:
Thilo Schulz 2011-01-27 16:41:08 +00:00
parent de0e3cba34
commit 0c662f25f2

View file

@ -248,7 +248,7 @@ static void hash_add_label(const char* label, unsigned address)
labellen = strlen(label) + 1; labellen = strlen(label) + 1;
h->label = malloc(labellen); h->label = malloc(labellen);
Com_sprintf(h->label, labellen, "%s", label); memcpy(h->label, label, labellen);
h->address = address; h->address = address;
h->next = labelhash[i]; h->next = labelhash[i];