dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88678e6
)
Portability fix: isdigit expects unsigned char.
author
Peter Verthez
<Peter.Verthez@advalvas.be>
Thu, 24 Oct 2002 19:00:38 +0000
(19:00 +0000)
committer
Peter Verthez
<Peter.Verthez@advalvas.be>
Thu, 24 Oct 2002 19:00:38 +0000
(19:00 +0000)
gedcom/age.c
patch
|
blob
|
history
diff --git
a/gedcom/age.c
b/gedcom/age.c
index 8518411252cd952b0e6ff6c221ca12fed190ee27..3b6a4bf5da1cf520f7984e11c1b91b79f291fc42 100644
(file)
--- a/
gedcom/age.c
+++ b/
gedcom/age.c
@@
-111,7
+111,7
@@
struct age_value gedcom_parse_age(const char* line_value)
while (*ptr == ' ') ptr++;
}
- if (isdigit(*ptr)) {
+ if (isdigit(
(unsigned char)
*ptr)) {
int result = parse_numeric_age(&age_s, ptr);
if (result == 0) {
age_s.type = AGE_NUMERIC;