summaryrefslogtreecommitdiff
path: root/lib/log.c
diff options
context:
space:
mode:
authorajs <ajs>2004-11-24 18:05:15 +0000
committerajs <ajs>2004-11-24 18:05:15 +0000
commit101ec7099a0c725f8836f51e2f9ad2138eb43502 (patch)
tree8cb6731e527174866b31b97fabaa615fc2e82bad /lib/log.c
parentcee3df1e4b1b8103bf81e5281a46aab7881f93df (diff)
In zlog_signal, change type of size since backtrace actually returns an int.
Diffstat (limited to 'lib/log.c')
-rw-r--r--lib/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/log.c b/lib/log.c
index 38f8ecea..86b54ebb 100644
--- a/lib/log.c
+++ b/lib/log.c
@@ -230,7 +230,7 @@ zlog_signal(int signo, const char *action)
#ifdef HAVE_GLIBC_BACKTRACE
{
void *array[20];
- size_t size;
+ int size;
size = backtrace(array,sizeof(array)/sizeof(array[0]));
s = buf;