From df1ca4abeb03694f3ddcca5901eb5c13a577b671 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Wed, 9 Aug 2000 16:52:21 +0200 Subject: [PATCH] Fixed some more warnings. Rev: src/stralloc.h:1.49 --- src/stralloc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/stralloc.h b/src/stralloc.h index 7ff8ad4192..f8904d4c5b 100644 --- a/src/stralloc.h +++ b/src/stralloc.h @@ -5,7 +5,7 @@ \*/ /* - * $Id: stralloc.h,v 1.48 2000/08/09 12:49:28 grubba Exp $ + * $Id: stralloc.h,v 1.49 2000/08/09 14:52:21 grubba Exp $ */ #ifndef STRALLOC_H #define STRALLOC_H @@ -142,8 +142,8 @@ extern struct shared_string_location *all_shared_string_locations; #define compare_2_to_2(X,Y,Z) MEMCMP((char *)(X),(char *)(Y),(Z)<<2) #define CONVERT(FROM,TO) \ -INLINE void PIKE_CONCAT4(convert_,FROM,_to_,TO)(PIKE_CONCAT(p_wchar,TO) *to, const PIKE_CONCAT(p_wchar,FROM) *from, int len); \ -INLINE INT32 PIKE_CONCAT4(compare_,FROM,_to_,TO)(const PIKE_CONCAT(p_wchar,TO) *to, const PIKE_CONCAT(p_wchar,FROM) *from, int len); +INLINE void PIKE_CONCAT4(convert_,FROM,_to_,TO)(PIKE_CONCAT(p_wchar,TO) *to, const PIKE_CONCAT(p_wchar,FROM) *from, ptrdiff_t len); \ +INLINE INT32 PIKE_CONCAT4(compare_,FROM,_to_,TO)(const PIKE_CONCAT(p_wchar,TO) *to, const PIKE_CONCAT(p_wchar,FROM) *from, ptrdiff_t len); /* Prototypes begin here */ -- GitLab