X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fprimitives.lisp;h=087802648e052cd65e70796a5251ef93f0980c5f;hb=e808a7bbbdb701b208c9e7f2cc75151a847ff3af;hp=02348a3bc1edaa3a74cc8f6f6d5aebef939c420d;hpb=fb079870a636e776d02df1710c5728ed134584ca;p=uffi.git diff --git a/src/primitives.lisp b/src/primitives.lisp index 02348a3..0878026 100644 --- a/src/primitives.lisp +++ b/src/primitives.lisp @@ -115,8 +115,10 @@ supports takes advantage of this optimization." (:unsigned-short . (sb-alien:unsigned 16)) (:int . (sb-alien:signed 32)) (:unsigned-int . (sb-alien:unsigned 32)) - (:long . (sb-alien:signed 32)) - (:unsigned-long . (sb-alien:unsigned 32)) + #-x86-64 (:long . (sb-alien:signed 32)) + #-x86-64 (:unsigned-long . (sb-alien:unsigned 32)) + #+x86-64 (:long . (sb-alien:signed 64)) + #+x86-64 (:unsigned-long . (sb-alien:unsigned 64)) (:float . sb-alien:single-float) (:double . sb-alien:double-float) (:void . t)