Skip to content

Commit f03a903

Browse files
committed
Merge pull request #170 from gaborpapp/char-comparison-fix
fixed char comparison warning
2 parents 2c586d3 + ed03644 commit f03a903

File tree

1 file changed

+1
-1
lines changed
  • examples/protonect/include/libfreenect2/protocol

1 file changed

+1
-1
lines changed

examples/protonect/include/libfreenect2/protocol/response.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ class GenericResponse
139139
dump << " ";
140140
for (int j = 0; (j < 16) && (j < length); j++)
141141
{
142-
char c = data[i*16+j];
142+
unsigned char c = data[i*16+j];
143143
dump << (((c<32)||(c>128))?'.':c);
144144
}
145145
dump << std::endl;

0 commit comments

Comments
 (0)