Branch: Tag:

2000-08-16

2000-08-16 16:12:43 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few warnings.

Rev: src/array.c:1.84
Rev: src/array.h:1.28
Rev: src/fdlib.c:1.38
Rev: src/interpret.c:1.164
Rev: src/language.yacc:1.207
Rev: src/modules/MIME/mime.c:1.25
Rev: src/modules/_Crypto/crypto.c:1.37
Rev: src/modules/call_out/call_out.c:1.38
Rev: src/modules/files/efuns.c:1.83
Rev: src/modules/files/file.c:1.187
Rev: src/pike_memory.c:1.80
Rev: src/pike_memory.h:1.23

5:   \*/      /* -  * $Id: pike_memory.h,v 1.22 2000/08/16 10:28:17 grubba Exp $ +  * $Id: pike_memory.h,v 1.23 2000/08/16 15:51:03 grubba Exp $    */   #ifndef MEMORY_H   #define MEMORY_H
65:   PMOD_EXPORT long pcharp_strlen(PCHARP a);   PMOD_EXPORT INLINE p_wchar1 *MEMCHR1(p_wchar1 *p, p_wchar1 c, ptrdiff_t e);   PMOD_EXPORT INLINE p_wchar2 *MEMCHR2(p_wchar2 *p, p_wchar2 c, ptrdiff_t e); - PMOD_EXPORT void swap(char *a, char *b, INT32 size); - PMOD_EXPORT void reverse(char *memory, INT32 nitems, INT32 size); + PMOD_EXPORT void swap(char *a, char *b, size_t size); + PMOD_EXPORT void reverse(char *memory, size_t nitems, size_t size);   PMOD_EXPORT void reorder(char *memory, INT32 nitems, INT32 size,INT32 *order);   PMOD_EXPORT size_t hashmem(const unsigned char *a, size_t len, size_t mlen);   PMOD_EXPORT size_t hashstr(const unsigned char *str, ptrdiff_t maxn);