From c95b244d5c6c391ea6a5deb400ac57ba38e837ba Mon Sep 17 00:00:00 2001 From: Pierre-Marc Fournier Date: Tue, 27 Apr 2010 15:11:57 -0400 Subject: [PATCH] fix warning --- libust/tracectl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libust/tracectl.c b/libust/tracectl.c index 74ad4ea6..39756a55 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; -- 2.34.1