projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9308df8
)
added type cast to avoid warning
author
Adam Dickmeiss
<adam@indexdata.dk>
Sat, 24 May 2003 19:34:43 +0000
(19:34 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Sat, 24 May 2003 19:34:43 +0000
(19:34 +0000)
server/seshigh.c
patch
|
blob
|
history
diff --git
a/server/seshigh.c
b/server/seshigh.c
index
fb4abe0
..
065b860
100644
(file)
--- a/
server/seshigh.c
+++ b/
server/seshigh.c
@@
-2,7
+2,7
@@
* Copyright (c) 1995-2003, Index Data
* See the file LICENSE for details.
*
- * $Id: seshigh.c,v 1.158 2003-05-24 19:20:14 adam Exp $
+ * $Id: seshigh.c,v 1.159 2003-05-24 19:34:43 adam Exp $
*/
/*
@@
-770,7
+770,7
@@
static char *uri_val(const char *path, const char *name, ODR o)
const char *p1 = strchr(path, '=');
if (!p1)
break;
- if (p1 - path == nlen && !memcmp(path, name, nlen))
+ if ((size_t)(p1 - path) == nlen && !memcmp(path, name, nlen))
{
size_t i = 0;
char *ret;