-;;;; -*- Mode: ANSI-Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
+;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; *************************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Feb 2002
;;;;
-;;;; $Id: strtol.cl,v 1.9 2002/03/17 17:33:30 kevin Exp $
+;;;; $Id: strtol.cl,v 1.11 2002/03/20 04:56:52 kevin Exp $
;;;;
;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
(let* ((str-native (uffi:convert-to-foreign-string str))
(endptr (uffi:allocate-foreign-object char-ptr))
(value (c-strtol str-native endptr base))
- (endptr-value (uffi:deref-pointer endptr 'char-ptr))
- next-char-value chars-parsed)
+ (endptr-value (uffi:deref-pointer endptr 'char-ptr)))
(unwind-protect
(if (uffi:null-pointer-p endptr-value)