aboutsummaryrefslogtreecommitdiff
path: root/jim.c
diff options
context:
space:
mode:
authorpatthoyts <patthoyts>2005-03-14 16:35:07 +0000
committerpatthoyts <patthoyts>2005-03-14 16:35:07 +0000
commit6fcd988bc7526b8c7629ada1e1b2caf156ebd7e6 (patch)
tree16189aa5a4b2a7a32be1137e58810aa1039179de /jim.c
parent49b3429ec87fd6d6b26706b9871fe33d076da752 (diff)
downloadjimtcl-6fcd988bc7526b8c7629ada1e1b2caf156ebd7e6.zip
jimtcl-6fcd988bc7526b8c7629ada1e1b2caf156ebd7e6.tar.gz
jimtcl-6fcd988bc7526b8c7629ada1e1b2caf156ebd7e6.tar.bz2
const police
Diffstat (limited to 'jim.c')
-rw-r--r--jim.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/jim.c b/jim.c
index 073d00b..cc9ed26 100644
--- a/jim.c
+++ b/jim.c
@@ -1,7 +1,7 @@
/* Jim - A small embeddable Tcl interpreter
* Copyright 2005 Salvatore Sanfilippo <antirez@invece.org>
*
- * $Id: jim.c,v 1.104 2005/03/14 14:39:01 antirez Exp $
+ * $Id: jim.c,v 1.105 2005/03/14 16:35:07 patthoyts Exp $
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -2133,8 +2133,8 @@ int Jim_CompareStringImmediate(Jim_Interp *interp, Jim_Obj *objPtr,
int qsortCompareStringPointers(const void *a, const void *b)
{
- char * const *sa = a;
- char * const *sb = b;
+ char * const *sa = (char * const *)a;
+ char * const *sb = (char * const *)b;
return strcmp(*sa, *sb);
}