diff options
Diffstat (limited to 'graphics/gnash/files/patch-libbase_GnashSleep.h')
-rw-r--r-- | graphics/gnash/files/patch-libbase_GnashSleep.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/gnash/files/patch-libbase_GnashSleep.h b/graphics/gnash/files/patch-libbase_GnashSleep.h new file mode 100644 index 000000000000..c44b0e8a29c2 --- /dev/null +++ b/graphics/gnash/files/patch-libbase_GnashSleep.h @@ -0,0 +1,11 @@ +--- libbase/GnashSleep.h.orig 2022-12-05 11:34:39 UTC ++++ libbase/GnashSleep.h +@@ -38,7 +38,7 @@ inline void gnashSleep(time_t useconds) + Sleep(useconds / 1000); + #else + const time_t m = 1000000; +- const struct timespec t = { useconds / m, (useconds % m) * 1000 }; ++ const struct timespec t = { useconds / m, (long)((useconds % m) * 1000) }; + ::nanosleep(&t, nullptr); + #endif + } |