Branch: Tag:

2000-08-10

2000-08-10 09:20:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few warnings.

Rev: src/block_alloc.h:1.22
Rev: src/cpp.c:1.73
Rev: src/cyclic.c:1.5
Rev: src/docode.c:1.77
Rev: src/dynamic_buffer.c:1.12
Rev: src/dynamic_load.c:1.42
Rev: src/encode.c:1.63
Rev: src/fsort_template.h:1.8
Rev: src/pike_macros.h:1.19
Rev: src/stuff.c:1.12
Rev: src/stuff.h:1.8

10:   #include "error.h"   #include "pike_memory.h"    - RCSID("$Id: dynamic_buffer.c,v 1.11 2000/08/04 10:59:22 grubba Exp $"); + RCSID("$Id: dynamic_buffer.c,v 1.12 2000/08/10 09:03:10 grubba Exp $");      static dynamic_buffer buff;   
128:   PMOD_EXPORT struct pike_string *debug_free_buf(void) { return low_free_buf(&buff); }   PMOD_EXPORT char *make_buf_space(INT32 space) { return low_make_buf_space(space,&buff); }   PMOD_EXPORT void my_putchar(char b) { low_my_putchar(b,&buff); } - PMOD_EXPORT void my_binary_strcat(const char *b,INT32 l) { low_my_binary_strcat(b,l,&buff); } + PMOD_EXPORT void my_binary_strcat(const char *b, ptrdiff_t l) { low_my_binary_strcat(b,l,&buff); }   PMOD_EXPORT void my_strcat(const char *b) { my_binary_strcat(b,strlen(b)); }   PMOD_EXPORT void init_buf(void) { low_reinit_buf(&buff); }   PMOD_EXPORT void init_buf_with_string(string s) { low_init_buf_with_string(s,&buff); }