diff options
author | hunt <hunt> | 2007-03-18 20:59:59 +0000 |
---|---|---|
committer | hunt <hunt> | 2007-03-18 20:59:59 +0000 |
commit | c3e51a48f159e71048cea229bf277a9955c74ef3 (patch) | |
tree | 632ac21681f5afda26733aaa6d06b4af8acf77b3 /runtime/stack.c | |
parent | 0c36452cc313a0966b7c9e2dfd69a1d0dbcaa00b (diff) | |
download | systemtap-steved-c3e51a48f159e71048cea229bf277a9955c74ef3.tar.gz systemtap-steved-c3e51a48f159e71048cea229bf277a9955c74ef3.tar.xz systemtap-steved-c3e51a48f159e71048cea229bf277a9955c74ef3.zip |
2007-03-18 Martin Hunt <hunt@redhat.com>
* stack.c, string.c, sym.c, transport/symbols.c:
Fix some signed vs unsigned comparison warnings.
Diffstat (limited to 'runtime/stack.c')
-rw-r--r-- | runtime/stack.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |