alpha64
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@557 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/skeletons/OCTET_STRING.c b/skeletons/OCTET_STRING.c
index 89d5de0..b44228c 100644
--- a/skeletons/OCTET_STRING.c
+++ b/skeletons/OCTET_STRING.c
@@ -914,8 +914,8 @@
* Something like strtod(), but with stricter rules.
*/
static int
-OS__strtoent(int base, char *buf, char *end, long *return_value) {
- long val = 0;
+OS__strtoent(int base, char *buf, char *end, int32_t *return_value) {
+ int32_t val = 0;
char *p;
for(p = buf; p < end; p++) {
@@ -981,7 +981,7 @@
if(len == 1 /* "&" */) goto want_more;
if(p[1] == 0x23 /* '#' */) {
char *pval; /* Pointer to start of digits */
- long val; /* Entity reference value */
+ int32_t val; /* Entity reference value */
int base;
if(len == 2 /* "&#" */) goto want_more;