pike.git/
src/
modules/
_Roxen/
roxen.c
Branch:
Tag:
Non-build tags
All tags
No tags
2000-08-12
2000-08-12 10:24:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>
aad584ef433d526dbe89134598d9b1ee8cf519e3 (
11
lines) (+
6
/-
5
)
[
Show
|
Annotate
]
Branch:
7.9
Fixed a few warnings.
Rev: src/modules/_Roxen/roxen.c:1.2
38:
{ char headers[8192]; char *pnt;
-
int
left;
+
ptrdiff_t
left;
}; static void f_hp_feed( INT32 args )
48:
char *pp,*ep; struct svalue *tmp; struct mapping *headers;
-
int
os=0,i,j,l;
+
ptrdiff_t
os=0,
i,
j,
l;
unsigned char *in; if( Pike_sp[-1].type != PIKE_T_STRING )
167:
else if( k->val.type == PIKE_T_ARRAY ) { struct array *a = k->val.u.array;
-
int
i, kl = k->ind.u.string->len + 2 ;
+
ptrdiff_t
i, kl = k->ind.u.string->len + 2 ;
for( i = 0; i<a->size; i++ ) if( a->item[i].type != PIKE_T_STRING||a->item[i].u.string->size_shift ) error("Wrong argument type to make_http_headers("
191:
NEW_MAPPING_LOOP( m->data ) { char *s;
-
int
l, c;
+
ptrdiff_t
l, c;
if( k->val.type == PIKE_T_STRING ) { STRADD( k->ind ); *(pnt++) = ':'; *(pnt++) = ' ';
200:
else { struct array *a = k->val.u.array;
-
int
i, kl = k->ind.u.string->len + 2;
+
ptrdiff_t
i, kl = k->ind.u.string->len + 2;
for( i = 0; i<a->size; i++ ) { STRADD( k->ind ); *(pnt++) = ':'; *(pnt++) = ' ';