We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0db3349 commit f83bc86Copy full SHA for f83bc86
ext/gd/libgd/gd_filter.c
@@ -21,9 +21,9 @@
21
#define GET_PIXEL_FUNCTION(src)(src->trueColor?gdImageGetTrueColorPixel:gdImageGetPixel)
22
23
#ifdef _WIN32
24
-# define GD_SCATTER_SEED() (unsigned int)(time(0) * GetCurrentProcessId())
+# define GD_SCATTER_SEED() ((unsigned int)time(0) * (unsigned int)GetCurrentProcessId())
25
#else
26
-# define GD_SCATTER_SEED() (unsigned int)(time(0) * getpid())
+# define GD_SCATTER_SEED() ((unsigned int)time(0) * (unsigned int)getpid())
27
#endif
28
29
int gdImageScatter(gdImagePtr im, int sub, int plus)
0 commit comments