Ecere Software
/
sdk
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
compiler/libec: Fixed keeping cast between long/int types
[sdk]
/
compiler
/
bootstrap
/
ecere
/
bootstrap
/
String.c
diff --git
a/compiler/bootstrap/ecere/bootstrap/String.c
b/compiler/bootstrap/ecere/bootstrap/String.c
index
b7e2525
..
9553bb1
100644
(file)
--- a/
compiler/bootstrap/ecere/bootstrap/String.c
+++ b/
compiler/bootstrap/ecere/bootstrap/String.c
@@
-707,7
+707,7
@@
unsigned int __ecereNameSpace__ecere__sys__GetHexValue(char ** buffer)
char string[20];
__ecereNameSpace__ecere__sys__GetString(buffer, string, 20);
char string[20];
__ecereNameSpace__ecere__sys__GetString(buffer, string, 20);
-return strtoul(string, (((void *)0)), 16);
+return
(unsigned int)
strtoul(string, (((void *)0)), 16);
}
double __ecereNameSpace__ecere__sys__FloatFromString(const char * string)
}
double __ecereNameSpace__ecere__sys__FloatFromString(const char * string)