diff options
author | Dan Winship <danw@gnome.org> | 2009-08-23 15:55:48 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2009-08-25 18:18:16 -0400 |
commit | 592769cfd9d3c040df03b3bdb84327530968ac7d (patch) | |
tree | 2c2c2e5d585c18795c84ba3fdd86a245e151b754 /src/nm-logging.c | |
parent | 09459788cdf5543dcdb296652475ef4afd59ad1e (diff) | |
download | NetworkManager-592769cfd9d3c040df03b3bdb84327530968ac7d.tar.gz |
core: add a cast to fix compile on 32-bit
Diffstat (limited to 'src/nm-logging.c')
-rw-r--r-- | src/nm-logging.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nm-logging.c b/src/nm-logging.c index 2fbef76268..f47461526f 100644 --- a/src/nm-logging.c +++ b/src/nm-logging.c @@ -53,13 +53,13 @@ fallback_get_backtrace (void) syslog (LOG_CRIT, "Frame %d: %s (%s+0x%lx) [%p]", i, name, info.dli_sname, - frames[i] - info.dli_saddr, + (gulong)(frames[i] - info.dli_saddr), frames[i]); } else { syslog (LOG_CRIT, "Frame %d: %s (%p+0x%lx) [%p]", i, name, info.dli_fbase, - frames[i] - info.dli_saddr, + (gulong)(frames[i] - info.dli_saddr), frames[i]); } } |