Skip to content

Commit

Permalink
fix read() warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ColleagueRiley committed Aug 4, 2024
1 parent e413fd8 commit 39ce5cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RGFW.h
Original file line number Diff line number Diff line change
Expand Up @@ -4027,7 +4027,7 @@ Start of Linux / Unix defines
/* drain any data in the stop request */
if (RGFW_eventWait_forceStop[2]) {
char data[64];
read(RGFW_eventWait_forceStop[0], data, sizeof(data));
(void)!read(RGFW_eventWait_forceStop[0], data, sizeof(data));

RGFW_eventWait_forceStop[2] = 0;
}
Expand Down

0 comments on commit 39ce5cc

Please sign in to comment.