summaryrefslogtreecommitdiff
path: root/camlibs/st2205/st2205.c
diff options
context:
space:
mode:
Diffstat (limited to 'camlibs/st2205/st2205.c')
-rw-r--r--camlibs/st2205/st2205.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camlibs/st2205/st2205.c b/camlibs/st2205/st2205.c
index 5c45c808f..9f9773f15 100644
--- a/camlibs/st2205/st2205.c
+++ b/camlibs/st2205/st2205.c
@@ -970,7 +970,7 @@ st2205_init(Camera *camera)
CHECK (st2205_check_fat_checksum (camera))
- camera->pl->rand_seed = time(NULL);
+ camera->pl->rand_seed = time(NULL) & 0xffffffff;
/* Some 96x64 models don't use compression, unfortunately I've found
no way to detect if this is the case, so we keep a list of firmware