]> gitweb.factorcode.org Git - factor.git/blobdiff - core/hashtables/hashtables.factor
use radix literals
[factor.git] / core / hashtables / hashtables.factor
index 4977e3df83b8c23f995dc2a21c49803017e930a4..7d0f4b85ffaa2af545e00a6ecb8df3ef98dc6e81 100644 (file)
@@ -178,7 +178,7 @@ M: hashtable assoc-like
 ! magic number is 2^29/phi instead of 2^32/phi
 ! due to max fixnum value on 32-bit machines
 : hash-combine ( obj oldhash -- newhash )
-    [ hashcode HEX: 13c6ef37 + ] dip
+    [ hashcode 0x13c6ef37 + ] dip
     [ 6 shift ] [ -2 shift ] bi + + ;
 
 INSTANCE: hashtable assoc