From 23c7adc5e9e27185ca0a69974a8268ec9e86b9b9 Mon Sep 17 00:00:00 2001 From: Chia-chi Yeh Date: Thu, 16 Jul 2009 14:45:11 +0800 Subject: [PATCH] keystore: Fix a compile warning. --- cmds/keystore/keystore_get.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds/keystore/keystore_get.h b/cmds/keystore/keystore_get.h index a7fd9a556..7665e81a3 100644 --- a/cmds/keystore/keystore_get.h +++ b/cmds/keystore/keystore_get.h @@ -29,7 +29,7 @@ * is returned. Otherwise it returns the value in dynamically allocated memory * and sets the size if the pointer is not NULL. One can release the memory by * calling free(). */ -static char *keystore_get(char *key, int *size) +static char *keystore_get(const char *key, int *size) { char buffer[MAX_KEY_VALUE_LENGTH]; char *value;