pike.git/
src/
modules/
Image/
encodings/
xcf.c
Branch:
Tag:
Non-build tags
All tags
No tags
2004-11-14
2004-11-14 13:03:09 by Martin Nilsson <mani@lysator.liu.se>
e494ac991efd0432d3cd3eeec718dffd16aedf29 (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
Fixed warning.
Rev: src/modules/Gmp/mpz_glue.c:1.164
Rev: src/modules/Image/encodings/xcf.c:1.52
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: xcf.c,v 1.
51
2004/
10
/
07
22
:
49
:
57
nilsson Exp $
+
|| $Id: xcf.c,v 1.
52
2004/
11
/
14
13
:
02
:
37
nilsson Exp $
*/ #include "global.h"
83:
if( i < 0 ) i = s->len + i; if( i >= s->len ) {
-
Pike_error("Index out of bounds, %
d
> %ld\n", i,
+
Pike_error("Index out of bounds, %
ld
> %ld\n", i,
DO_NOT_WARN((long)s->len-1) ); } push_int( ((unsigned char *)s->s->str)[s->offset+i] );