Skip to content

Commit

Permalink
Fix a gcc warning
Browse files Browse the repository at this point in the history
edid-decode.c:777:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
  • Loading branch information
jeremyhu committed Oct 8, 2011
1 parent cc36404 commit 6535739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edid-decode.c
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ extract_edid(int fd)
free(out);
return NULL;
}
out = s;
out = (unsigned char *)s;
} else if (state == 1) {
char buf[3];
/* Read a %02x from the log */
Expand Down

0 comments on commit 6535739

Please sign in to comment.