X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/45c0fd363937c6e9b05da04a9167e9912c05ca0c..ba6e6b64033b1f9de49feccb5c9cd438354481f7:/key-io.c diff --git a/key-io.c b/key-io.c index b77bab98..5c70909c 100644 --- a/key-io.c +++ b/key-io.c @@ -553,7 +553,7 @@ int key_new(key_file *f, uint32 id, const char *type, time_t exp, key **kk) k->tag = 0; k->exp = k->del = exp; k->c = 0; - k->type = type; /* temporarily */ + k->type = (char *)type; /* temporarily */ sym_create(&k->a); if ((e = insert(f, k)) != 0) DESTROY(k);