summaryrefslogtreecommitdiff
path: root/sal/rtl/random.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/rtl/random.cxx')
-rw-r--r--sal/rtl/random.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/rtl/random.cxx b/sal/rtl/random.cxx
index 96978ffdfbc7..4fe8b049196f 100644
--- a/sal/rtl/random.cxx
+++ b/sal/rtl/random.cxx
@@ -32,13 +32,13 @@
#define RTL_RANDOM_RNG(x, y, z) \
{ \
(x) = 170 * ((x) % 178) - 63 * ((x) / 178); \
- if ((x) < 0) (x) += 30328L; \
+ if ((x) < 0) (x) += 30328; \
\
(y) = 171 * ((y) % 177) - 2 * ((y) / 177); \
- if ((y) < 0) (y) += 30269L; \
+ if ((y) < 0) (y) += 30269; \
\
(z) = 172 * ((z) % 176) - 35 * ((z) / 176); \
- if ((z) < 0) (z) += 30307L; \
+ if ((z) < 0) (z) += 30307; \
}
struct RandomData_Impl