From: Klas Lindfors Date: Mon, 15 Apr 2013 07:17:14 +0000 (+0200) Subject: cast to correct data type X-Git-Tag: v1.13.0~39 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8069dfb91718a67949045f381dc05b4bef68c540;p=yubikey-personalization cast to correct data type --- diff --git a/ykpers-json.c b/ykpers-json.c index c9d7a9c..31cf12c 100644 --- a/ykpers-json.c +++ b/ykpers-json.c @@ -210,7 +210,7 @@ int ykp_json_import_cfg(const char *json, size_t len, YKP_CONFIG *cfg) { seed = json_object_get_int(jseed); } } - ykp_set_oath_imf(cfg, seed); + ykp_set_oath_imf(cfg, (long unsigned int)seed); } } else if(mode == MODE_CHAL_HMAC) { ykp_set_tktflag_CHAL_RESP(cfg, true);