Project

General

Profile

Bug #853540

-Wsign-compare warning in get_tokens()

Added by Marko Lindqvist 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Category:
General
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

When -Wsign-compare enabled:

../../../src/utility/fc_cmdline.c: In function ‘get_tokens’:
../../../src/utility/fc_cmdline.c:173:25: error: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Werror=sign-compare]
173 | for (token = 0; token < num_tokens && *str != '\0'; token++) {

History

#2 Updated by Marko Lindqvist 7 months ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF