diff --git a/src/stralloc.h b/src/stralloc.h index 7ff8ad4192639d4b2a149b75849b5f892ca9535d..f8904d4c5bb225b245dfcd52e2725bbe8e12c12c 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 */