diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-26 01:42:33 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-26 01:42:33 +0000 |
commit | 4fa7a0d8df9dd4dd623261087180d40bd457ff83 (patch) | |
tree | bbdb60c406946611c7bcab4d68674bc5d5f07e17 | |
parent | 76ba59645c0078f03775ac766e1483529064808b (diff) |
Suppress -Werror=shorten-64-to-32
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | addr2line.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addr2line.c b/addr2line.c index 5431a073c2..808ba733bb 100644 --- a/addr2line.c +++ b/addr2line.c @@ -731,7 +731,7 @@ ksprintn(char *nbuf, uintmax_t num, int base, int *lenp, int upper) *++p = upper ? toupper(c) : c; } while (num /= base); if (lenp) - *lenp = p - nbuf; + *lenp = (int)(p - nbuf); return (p); } @@ -946,7 +946,7 @@ reswitch: switch (ch = (u_char)*fmt++) { if (p == NULL) p = "(null)"; if (!dot) - n = strlen (p); + n = (int)strlen (p); else for (n = 0; n < dwidth && p[n]; n++) continue; |