From: Clemens Lang Date: Sat, 18 Feb 2012 16:45:49 +0000 (+0100) Subject: ykchalresp.c: Fix clang format warning X-Git-Tag: v1.6.4~13 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72c0f3a56392c339fa553918760da3753da94ea6;p=yubikey-personalization.old ykchalresp.c: Fix clang format warning warning: conversion specifies type 'int' but the argument has type 'unsigned long' --- diff --git a/ykchalresp.c b/ykchalresp.c index 0d719d1..d268b4a 100644 --- a/ykchalresp.c +++ b/ykchalresp.c @@ -127,7 +127,7 @@ int parse_args(int argc, char **argv, int strl = strlen(argv[optind]); if (strl > sizeof(decoded) * 2) { - fprintf(stderr, "Hex-encoded challenge too long (max %i chars)\n", + fprintf(stderr, "Hex-encoded challenge too long (max %lu chars)\n", sizeof(decoded) * 2); return 0; }