make lhs unsigned

(cherry picked from commit 1208790272)
This commit is contained in:
Mark Andrews
2014-06-12 11:13:54 +10:00
parent 0a3910db59
commit 032ddd08f1
+1 -1
View File
@@ -465,7 +465,7 @@ tostruct_tkey(ARGS_TOSTRUCT) {
/*
* Key.
*/
INSIST(tkey->keylen + 2 <= sr.length);
INSIST(tkey->keylen + 2U <= sr.length);
tkey->key = mem_maybedup(mctx, sr.base, tkey->keylen);
if (tkey->key == NULL)
goto cleanup;