From 72c0f3a56392c339fa553918760da3753da94ea6 Mon Sep 17 00:00:00 2001 From: Clemens Lang Date: Sat, 18 Feb 2012 17:45:49 +0100 Subject: [PATCH] ykchalresp.c: Fix clang format warning warning: conversion specifies type 'int' but the argument has type 'unsigned long' --- ykchalresp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5