summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-01-10 17:54:27 -0800
committerGlenn Kasten <gkasten@google.com>2012-01-11 07:41:08 -0800
commit6c7609549631b816c53b452ddbc76770483a8976 (patch)
tree4ffb9e8907f0ee9ebbed71b69b5a9d3c625b24bb
parent5873400ac829960958af264406cd9e7c83e98acd (diff)
downloadframeworks_native-6c7609549631b816c53b452ddbc76770483a8976.zip
frameworks_native-6c7609549631b816c53b452ddbc76770483a8976.tar.gz
frameworks_native-6c7609549631b816c53b452ddbc76770483a8976.tar.bz2
Fix build warnings
Change-Id: Ia5b8da2cfed7ae02c9e8e03e8bae22b2a68684a0
-rw-r--r--cmds/keystore/keystore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/keystore/keystore.cpp b/cmds/keystore/keystore.cpp
index 05f77e5..2c9cb35 100644
--- a/cmds/keystore/keystore.cpp
+++ b/cmds/keystore/keystore.cpp
@@ -581,7 +581,7 @@ static ResponseCode get(KeyStore* keyStore, int sock, uid_t uid, Value* keyName,
static ResponseCode insert(KeyStore* keyStore, int sock, uid_t uid, Value* keyName, Value* val) {
char filename[NAME_MAX];
encode_key(filename, uid, keyName);
- Blob keyBlob(val->value, val->length, 0, NULL);
+ Blob keyBlob(val->value, val->length, NULL, 0);
return keyStore->put(filename, &keyBlob);
}