void-packages/srcpkgs/yoshimi/patches/musl.patch

14 lines
368 B
Diff

diff --git src/Misc/RandomGen.h src/Misc/RandomGen.h
index 29aeb48..f7c90f8 100644
--- src/Misc/RandomGen.h
+++ src/Misc/RandomGen.h
@@ -187,7 +187,7 @@ class JenkinsPRNG
}
private:
- uint32_t rot(uint32_t x, uint k) { return (x << k)|(x >> (32-k)); }
+ uint32_t rot(uint32_t x, unsigned int k) { return (x << k)|(x >> (32-k)); }
};