From 81945fba6c0848e84f90a52e56b41c11b3ef3bd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Thu, 10 Aug 2000 10:41:30 +0200 Subject: [PATCH] Fixaed a few warnings. Rev: src/stralloc.c:1.92 --- src/stralloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stralloc.c b/src/stralloc.c index ec2a4a9281..d6dfb46b16 100644 --- a/src/stralloc.c +++ b/src/stralloc.c @@ -25,7 +25,7 @@ #define HUGE HUGE_VAL #endif /*!HUGE*/ -RCSID("$Id: stralloc.c,v 1.91 2000/08/09 18:46:10 grubba Exp $"); +RCSID("$Id: stralloc.c,v 1.92 2000/08/10 08:41:30 grubba Exp $"); #define BEGIN_HASH_SIZE 997 #define MAX_AVG_LINK_LENGTH 3 @@ -335,7 +335,7 @@ static struct pike_string *internal_findstring(const char *s, return 0; /* not found */ } -PMOD_EXPORT struct pike_string *binary_findstring(const char *foo, INT32 l) +PMOD_EXPORT struct pike_string *binary_findstring(const char *foo, ptrdiff_t l) { return internal_findstring(foo, l, 0, StrHash(foo,l)); } -- GitLab