(parse_integer): fix comment.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2023-07-30 14:42:46 +03:00
parent 8ce06c4868
commit 623fcd1316
1 changed files with 2 additions and 2 deletions

View File

@ -990,11 +990,11 @@ strrstr_skip_count (const char *haystack, const char *needle, size_t skip_count)
* @param str input value
* @param invalid set to TRUE if "str" does not represent a number in this format
*
* @return non-integer representation of "str", 0 in case of error.
* @return non-negative integer representation of "str", 0 in case of error.
*/
uintmax_t
parse_integer (const char *str, gboolean * invalid)
parse_integer (const char *str, gboolean * invalid)
{
uintmax_t n;
char *suffix;