From: Klas Lindfors Date: Wed, 19 Sep 2012 06:47:58 +0000 (+0200) Subject: make status unsigned to match other types X-Git-Tag: v1.8.0~33 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dccd34c783d5183c712a0eff7266c7d1be9a64bf;p=yubikey-personalization make status unsigned to match other types --- diff --git a/ykpers.c b/ykpers.c index 4a6858c..9676c43 100644 --- a/ykpers.c +++ b/ykpers.c @@ -405,7 +405,7 @@ int ykp_construct_ndef_text(YKNDEF *ndef, const char *text, const char *lang, bo { size_t data_length = strlen(text); size_t lang_length = strlen(lang); - char status = lang_length; + unsigned char status = lang_length; if(isutf16) { status &= 0x80; }