From 0c662f25f2f4d9993dcf99c14ca0b3cc8c37c9c2 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Thu, 27 Jan 2011 16:41:08 +0000 Subject: [PATCH] Make Ludwig happy --- code/qcommon/vm_x86_64_assembler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/qcommon/vm_x86_64_assembler.c b/code/qcommon/vm_x86_64_assembler.c index 5aaea1d8..9c6c5c69 100644 --- a/code/qcommon/vm_x86_64_assembler.c +++ b/code/qcommon/vm_x86_64_assembler.c @@ -248,7 +248,7 @@ static void hash_add_label(const char* label, unsigned address) labellen = strlen(label) + 1; h->label = malloc(labellen); - Com_sprintf(h->label, labellen, "%s", label); + memcpy(h->label, label, labellen); h->address = address; h->next = labelhash[i];