Skip to content
Permalink
Browse files

fix translation on 32bit linux

  • Loading branch information
timfel committed May 10, 2013
1 parent c1b539f commit acbcdab37bbe8d641b0702a913b095e6943d226e
Showing with 2 additions and 1 deletion.
  1. +2 −1 topaz/objects/randomobject.py
@@ -1,6 +1,7 @@
import os
import time

from rpython.rlib.rarithmetic import intmask
from rpython.rlib.rrandom import Random

from topaz.module import ClassDef
@@ -37,7 +38,7 @@ def method_seed(self, space):
def srand(self, space, seed=None):
previous_seed = self.w_seed
if seed is None:
seed = self._generate_seed()
seed = intmask(self._generate_seed())
else:
seed = Coerce.int(space, seed)
self.w_seed = space.newint(seed)

0 comments on commit acbcdab

Please sign in to comment.
You can’t perform that action at this time.