From: Pierre-Marc Fournier Date: Tue, 27 Apr 2010 19:11:57 +0000 (-0400) Subject: fix warning X-Git-Tag: v0.5~27 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=c95b244d5c6c391ea6a5deb400ac57ba38e837ba;p=ust.git fix warning --- diff --git a/libust/tracectl.c b/libust/tracectl.c index 74ad4ea..39756a5 100644 --- a/libust/tracectl.c +++ b/libust/tracectl.c @@ -459,7 +459,7 @@ static int do_cmd_get_subbuf_size(const char *recvbuf, struct ustcomm_source *sr static unsigned int poweroftwo(unsigned int x) { unsigned int power2 = 1; - unsigned int hardcoded = 2147483648; /* FIX max 2^31 */ + unsigned int hardcoded = 2147483648u; /* FIX max 2^31 */ if (x < 2) return 2;