Skip to content

Commit ed03644

Browse files
committed
fixed char comparison warning
1 parent 66d0e37 commit ed03644

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)