X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tests%2Fstrtol.cl;h=a115b2a8019e856058a0b21edbaf14d0a247574f;hb=f73eb94e15649aba5fcfbe3a900aa72f31f46a96;hp=eefee46e261175b7654c506ce7fc9004adb6a519;hpb=ca7e9a2299773cfbc927d71e6289549601438b24;p=uffi.git diff --git a/tests/strtol.cl b/tests/strtol.cl index eefee46..a115b2a 100644 --- a/tests/strtol.cl +++ b/tests/strtol.cl @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: strtol.cl,v 1.11 2002/03/20 04:56:52 kevin Exp $ +;;;; $Id: strtol.cl,v 1.12 2002/03/23 16:32:39 kevin Exp $ ;;;; ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -36,7 +36,7 @@ Condition flag is T if all of string parses as a long, NIL if their was no string at all, or an integer indicating position in string of first non-valid character" (let* ((str-native (uffi:convert-to-foreign-string str)) - (endptr (uffi:allocate-foreign-object char-ptr)) + (endptr (uffi:allocate-foreign-object 'char-ptr)) (value (c-strtol str-native endptr base)) (endptr-value (uffi:deref-pointer endptr 'char-ptr)))