From ef33cddcce43b2ca430aec2d99512e2667e56b13 Mon Sep 17 00:00:00 2001 From: Chia-chi Yeh Date: Thu, 16 Jul 2009 14:45:11 +0800 Subject: 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 a7fd9a556af8..7665e81a314d 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; -- cgit v1.2.3-59-g8ed1b