pike.git/
src/
builtin.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2018-03-28
2018-03-28 16:39:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>
2912e19a3b982bedfa32c8cff3c8b1e2e712eacd (
8
lines) (+
6
/-
2
)
[
Show
|
Annotate
]
Branch:
master
Build: Fixed C99-ism.
Gcc 3.3.2 complains about this when not running in strict C99-mode.
1930:
THIS->int_buffer = ((INT64 *)Pike_sp[-1].u.string->str)[0]; #else /* Big endian. */
-
for
(
int i = 0; i < 8; i++) {
+
{
+
int i
;
+
for (i
= 0; i < 8; i++) {
((p_wchar0 *)&THIS->int_buffer)[i] = STR0(Pike_sp[-1].u.string)[7-i]; }
-
+
}
#endif THIS->buffer_bits = 64; pop_stack();