mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Make Ludwig happy
This commit is contained in:
parent
de0e3cba34
commit
0c662f25f2
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||||
|
|
Loading…
Reference in a new issue