summaryrefslogtreecommitdiffstats
path: root/tools/build
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1995-09-29 17:19:16 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1995-09-29 17:19:16 +0000
commit11290355c9454c575d56c7928a725fd95e88d6f8 (patch)
tree1cd5ff063250cff764a59189f1e1956c40925a35 /tools/build
parent1039ae4125ec70e3ff4de6147a62f681065c09d1 (diff)
downloadrtems-11290355c9454c575d56c7928a725fd95e88d6f8.tar.bz2
all targets compile .. tony's patches in place
Diffstat (limited to 'tools/build')
-rw-r--r--tools/build/src/unhex.c2
-rw-r--r--tools/build/unhex.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/build/src/unhex.c b/tools/build/src/unhex.c
index 540095d6f4..f149449302 100644
--- a/tools/build/src/unhex.c
+++ b/tools/build/src/unhex.c
@@ -86,7 +86,7 @@ void error(int errn, ...);
#define ERR_ABORT (ERR_ERRNO / 4) /* error is fatal; abort */
#define ERR_MASK (ERR_ERRNO | ERR_FATAL | ERR_ABORT) /* all */
-#define stol(p) strtol(p, (char **) NULL, 0)
+#define stol(p) strtoul(p, (char **) NULL, 0)
int unhex(FILE *ifp, char *inm, FILE *ofp, char *onm);
int convert_Intel_records(FILE *ifp, char *inm, FILE *ofp, char *onm);
diff --git a/tools/build/unhex.c b/tools/build/unhex.c
index 540095d6f4..f149449302 100644
--- a/tools/build/unhex.c
+++ b/tools/build/unhex.c
@@ -86,7 +86,7 @@ void error(int errn, ...);
#define ERR_ABORT (ERR_ERRNO / 4) /* error is fatal; abort */
#define ERR_MASK (ERR_ERRNO | ERR_FATAL | ERR_ABORT) /* all */
-#define stol(p) strtol(p, (char **) NULL, 0)
+#define stol(p) strtoul(p, (char **) NULL, 0)
int unhex(FILE *ifp, char *inm, FILE *ofp, char *onm);
int convert_Intel_records(FILE *ifp, char *inm, FILE *ofp, char *onm);