pike.git/
src/
builtin.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2003-01-26
2003-01-26 19:00:53 by Mirar (Pontus Hagland) <pike@sort.mirar.org>
9c3a7c8c46baca039c3b1d5048f33af50fbf44df (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
7.9
large INT_TYPE related bug fix in int2hex
Rev: src/builtin.cmod:1.111
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: builtin.cmod,v 1.
110
2003/01/26
18
:
31
:
19
mirar Exp $
+
|| $Id: builtin.cmod,v 1.
111
2003/01/26
19
:
00
:
53
mirar Exp $
*/ #include "global.h"
218:
len=1; if(c<0) { len++;
-
n=(-c)&((unsigned
int
)(-1));
+
n=(-c)&((unsigned
INT_TYPE
)(-1));
}else{ n=c; }
234:
if(c<0) { s->str[0]='-';
-
n=(-c)&((unsigned
int
)(-1));
+
n=(-c)&((unsigned
INT_TYPE
)(-1));
}else{ n=c; }