trace: Fix compiler warnings in trace
authorSimon Glass <sjg@chromium.org>
Wed, 24 Feb 2016 16:14:45 +0000 (09:14 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Feb 2016 15:53:10 +0000 (08:53 -0700)
commit5eca977935bf58f4227b2681e612a452a0da0286
tree695e63fb67a4e8f9a007304dfb013c36fbb8c265
parent0edd82e2448d4aa8f729ac1df8bb55121388a069
trace: Fix compiler warnings in trace

With min() we must use the same type for each parameter. Fix two problems
in trace.c which produce compiler warnings.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
cmd/trace.c