r5127: *** empty log message ***
[kmrcl.git] / strings.lisp
index bf10d058b85d29ba1da086f9cbc00195ce58540b..08aec10ea8e92262ebcb92097ab5effab402f63c 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Apr 2000
 ;;;;
-;;;; $Id: strings.lisp,v 1.41 2003/06/15 07:48:30 kevin Exp $
+;;;; $Id: strings.lisp,v 1.42 2003/06/15 13:49:42 kevin Exp $
 ;;;;
 ;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
@@ -392,11 +392,11 @@ for characters in a string"
   (not (alphanumericp ch)))
 
 (defvar +hex-chars+ "0123456789ABCDEF")
-(declaim (type (simple-array character 16) +hex-chars+))
+(declaim (type simple-string +hex-chars+))
 
 (defun hexchar (n)
   (declare (type (integer 0 15) n))
-  (aref +hex-chars+ n))
+  (schar +hex-chars+ n))
 
 (defun escape-uri-field (query)
   "Escape non-alphanumeric characters for URI fields"