[Ecls-list] Patch: :unsigned-short range correction in cmpffi.lsp

Dave Roberts dave at vyatta.com
Thu Jul 6 06:57:02 UTC 2006


Just a small typo but the range for :unsigned-short was restricted to
si:c-short-max rather than si:c-ushort-max.

-- Dave

cvs diff: Diffing .
Index: cmpffi.lsp
===================================================================
RCS file: /project/ecl/cvsroot/ecl/src/cmp/cmpffi.lsp,v
retrieving revision 1.27
diff -u -r1.27 cmpffi.lsp
--- cmpffi.lsp  2 Jun 2006 16:24:08 -0000       1.27
+++ cmpffi.lsp  6 Jul 2006 06:45:12 -0000
@@ -39,7 +39,7 @@
     :cstring (string "char*")
     :char* (string "char*")
     :short ((integer #.si:c-short-min #.si:c-short-max) "short")
-    :unsigned-short ((integer 0 #.si:c-short-max) "unsigned short")
+    :unsigned-short ((integer 0 #.si:c-ushort-max) "unsigned short")
     ))







More information about the ecl-devel mailing list