pike.git/
src/
operators.c
Branch:
Tag:
Non-build tags
All tags
No tags
2000-08-15
2000-08-15 11:18:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>
6aa68be7c3f285d6f21dc50dca6fe9f3d4b61a51 (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
Fixed a few warnings.
Rev: src/array.c:1.82
Rev: src/array.h:1.27
Rev: src/operators.c:1.99
6:
/**/ #include "global.h" #include <math.h>
-
RCSID("$Id: operators.c,v 1.
98
2000/08/
10
17
:
44
:
56
grubba Exp $");
+
RCSID("$Id: operators.c,v 1.
99
2000/08/
15
11
:
18
:
46
grubba Exp $");
#include "interpret.h" #include "svalue.h" #include "multiset.h"
1797:
for(last=0,e=0;e<size-1;e++) {
-
pos=(
INT32
)((e+1)*len);
+
pos
=
DO_NOT_WARN
(
(ptrdiff_t
)((e+1)*len)
)
;
a->item[e].u.string=string_slice(sp[-2].u.string, last, pos-last);