diff options
author | David Robillard <d@drobilla.net> | 2022-10-07 15:53:52 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-10-07 15:53:52 -0400 |
commit | 7d32c6139c8380d863cfff5c46609ef23baf56c8 (patch) | |
tree | aeaeb4be21b0cf763d79a467d7b3b4da9f907402 /src/win.c | |
parent | 17d90bda87dd445a974de7e644629593ade617d8 (diff) | |
download | pugl-7d32c6139c8380d863cfff5c46609ef23baf56c8.tar.gz pugl-7d32c6139c8380d863cfff5c46609ef23baf56c8.tar.bz2 pugl-7d32c6139c8380d863cfff5c46609ef23baf56c8.zip |
Suppress MinGW warnings
Diffstat (limited to 'src/win.c')
-rw-r--r-- | src/win.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -918,7 +918,7 @@ puglUpdate(PuglWorld* world, double timeout) if (timeout < 0.0) { st = puglPollWinEvents(world, timeout); st = st ? st : puglDispatchWinEvents(world); - } else if (timeout == 0.0) { + } else if (timeout <= 0.001) { st = puglDispatchWinEvents(world); } else { const double endTime = startTime + timeout - 0.001; |