Mercurial > hg
diff mcabber/mcabber/utils.c @ 2198:1591518a33b9
Minor change of the prototype for fingerprint_to_hex()
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 11 Oct 2015 17:19:15 +0200 |
parents | 189abf03ef24 |
children | 170597f5365b |
line wrap: on
line diff
--- a/mcabber/mcabber/utils.c Sun Oct 11 17:17:35 2015 +0200 +++ b/mcabber/mcabber/utils.c Sun Oct 11 17:19:15 2015 +0200 @@ -155,9 +155,10 @@ return g_strdup(fname); } -void fingerprint_to_hex(const unsigned char *fpr, char hex[48]) +void fingerprint_to_hex(const char *fprstr, char hex[48]) { int i; + const unsigned char *fpr = (const unsigned char *)fprstr; char *p; hex[0] = 0;