pike.git/
src/
array.c
Branch:
Tag:
Non-build tags
All tags
No tags
2008-05-01
2008-05-01 20:15:44 by Martin Stjernholm <mast@lysator.liu.se>
49bc5476b45e52a0d7e38599eb59bff0ce379800 (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
Slightly cleaner fix.
Rev: src/array.c:1.203
2:
|| This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: array.c,v 1.
202
2008/05/01
19
:
53
:
59
mast Exp $
+
|| $Id: array.c,v 1.
203
2008/05/01
20
:
15
:
44
mast Exp $
*/ #include "global.h"
2443:
check_stack(args); check_array_for_destruct(a); for (e=0; e<args; e++)
-
hash = hash * 33 + DO_NOT_WARN ((INT32)
(size
_
t)
Pike_sp[-e-1].u.ptr);
+
hash = hash * 33 + DO_NOT_WARN ((INT32)
PTR_TO_INT
(Pike_sp[-e-1].u.ptr)
)
;
if (!(cycl = (struct array *)BEGIN_CYCLIC(a, (ptrdiff_t)hash))) { push_array(aa = allocate_array_no_init(0, a->size));