From: espen Date: Thu, 3 Feb 2005 22:59:35 +0000 (+0000) Subject: Bug fix X-Git-Url: https://git.distorted.org.uk/~mdw/clg/commitdiff_plain/466cf192526f40354fae663cff74ab7e231a5a50?hp=62f128081bd450f55d7e4ffd6602fb518f8ea304 Bug fix --- diff --git a/glib/genums.lisp b/glib/genums.lisp index 7f37948..44278b3 100644 --- a/glib/genums.lisp +++ b/glib/genums.lisp @@ -15,7 +15,7 @@ ;; License along with this library; if not, write to the Free Software ;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -;; $Id: genums.lisp,v 1.6 2005-02-01 15:24:52 espen Exp $ +;; $Id: genums.lisp,v 1.7 2005-02-03 22:59:35 espen Exp $ (in-package "GLIB") @@ -156,7 +156,7 @@ (declare (ignore type)) `(loop for mapping in ',(%map-enum args :int-flags) - unless (zerop (logand int (first mapping))) + unless (zerop (logand ,int (first mapping))) collect (second mapping))) (defmethod to-alien-function ((type (eql 'flags)) &rest args) @@ -214,7 +214,7 @@ ;;;; (defun expand-enum-type (type-number forward-p options) - (declare (ignore forward)) + (declare (ignore forward-p)) (let* ((super (supertype type-number)) (type (type-from-number type-number)) (mappings (getf options :mappings))