# HG changeset patch # User John W. Eaton # Date 1440014243 14400 # Node ID 9267c95dbd71b10600fd11646a642dc49675d6b6 # Parent b3f56ed8d1f9a789be77d3e94914185aa973f1be avoid signed/unsigned comparison warning * txt-eng-ft.cc (ft_render::process_character): Declare loop counters as unsigned ints. diff -r b3f56ed8d1f9 -r 9267c95dbd71 libinterp/corefcn/txt-eng-ft.cc --- a/libinterp/corefcn/txt-eng-ft.cc Tue Aug 18 11:35:23 2015 -0700 +++ b/libinterp/corefcn/txt-eng-ft.cc Wed Aug 19 15:57:23 2015 -0400 @@ -560,8 +560,8 @@ if (x0 < 0) x0 = 0; - for (int r = 0; r < bitmap.rows; r++) - for (int c = 0; c < bitmap.width; c++) + for (unsigned int r = 0; r < bitmap.rows; r++) + for (unsigned int c = 0; c < bitmap.width; c++) { unsigned char pix = bitmap.buffer[r*bitmap.width+c]; if (x0+c < 0 || x0+c >= pixels.dim2 ()