From c3e51a48f159e71048cea229bf277a9955c74ef3 Mon Sep 17 00:00:00 2001 From: hunt Date: Sun, 18 Mar 2007 20:59:59 +0000 Subject: 2007-03-18 Martin Hunt * stack.c, string.c, sym.c, transport/symbols.c: Fix some signed vs unsigned comparison warnings. --- runtime/stack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/stack.c') diff --git a/runtime/stack.c b/runtime/stack.c index 07315a90..51be05bd 100644 --- a/runtime/stack.c +++ b/runtime/stack.c @@ -102,7 +102,7 @@ void _stp_stack_snprint (char *str, int size, struct pt_regs *regs, int verbose, _stp_pbuf *pb = per_cpu_ptr(Stp_pbuf, smp_processor_id()); _stp_print_flush(); _stp_stack_print(regs, verbose, pi); - strlcpy(str, pb->buf, size < pb->len ? size : pb->len); + strlcpy(str, pb->buf, size < (int)pb->len ? size : (int)pb->len); pb->len = 0; } -- cgit