Skip to content

Commit

Permalink
Fix "comparison is always true due to limited range of data type" war…
Browse files Browse the repository at this point in the history
…ning
  • Loading branch information
AMDmi3 committed Jul 30, 2013
1 parent 6d0abb4 commit 5ac7f3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/DHT_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ void print_friendlist()
for(i = 0; i < 4; i++) {
printf("ClientID: ");
for(j = 0; j < 32; j++) {
if(0 <= friends_list[k].client_list[i].client_id[j] && friends_list[k].client_list[i].client_id[j] < 16)
if(friends_list[k].client_list[i].client_id[j] < 16)
printf("0");
printf("%hhX", friends_list[k].client_list[i].client_id[j]);
}
Expand Down

0 comments on commit 5ac7f3d

Please sign in to comment.