|
From: | Дилян Палаузов |
Subject: | Compiler Warning vasnprintf.c (L5107: comparison between signed and unsigned int) |
Date: | Thu, 11 Sep 2014 22:05:12 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 |
Hello, I compile with gcc491 -Wall -Wextra vasnprintf.c: In function ‘vasnprintf’:vasnprintf.c:5107:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (count < maxlen ^count is int (signed) and maxlen is size_t (<=> unsigned) (lines 4935 and 4936).
I would appreciate if you fix the code, so that it compiles without warnings.
Greetings Dilyan
[Prev in Thread] | Current Thread | [Next in Thread] |