aboutsummaryrefslogtreecommitdiffstats
path: root/key2root-addkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'key2root-addkey.c')
-rw-r--r--key2root-addkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/key2root-addkey.c b/key2root-addkey.c
index 5b3f1ee..78435f3 100644
--- a/key2root-addkey.c
+++ b/key2root-addkey.c
@@ -231,7 +231,7 @@ main(int argc, char *argv[])
}
for (i = 0; i < key_len; i++)
if (!key[i])
- key[i] = 255;
+ key[i] = (char)255;
key[key_len] = '\0';
hash = crypt(key, parameters);
if (!hash)