r9948: fix for segv on sbcl
[md5.git] / md5.lisp
index dbdafb21c2f34cf303c42da04077a299dec376ce..a7ce4a3c25224a379d1b3e1d55334c73d31f7a2f 100644 (file)
--- a/md5.lisp
+++ b/md5.lisp
@@ -110,7 +110,7 @@ where a is the intended low-order byte and d the high-order byte."
   #+cmu
   (kernel:32bit-logical-xor y (kernel:32bit-logical-orc2 x z))
   #-cmu
-  (logxor y (logorc2 x z)))
+  (ldb (byte 32 0) (logxor y (logorc2 x z))))
 
 (declaim (inline mod32+)
         (ftype (function (ub32 ub32) ub32) mod32+))