Merge change 7508 into donut

* changes:
  keystore: Fix a compile warning.
This commit is contained in:
Android (Google) Code Review
2009-07-15 23:55:58 -07:00

View File

@@ -29,7 +29,7 @@
* is returned. Otherwise it returns the value in dynamically allocated memory * 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 * and sets the size if the pointer is not NULL. One can release the memory by
* calling free(). */ * 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 buffer[MAX_KEY_VALUE_LENGTH];
char *value; char *value;