fix warning
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Tue, 27 Apr 2010 19:11:57 +0000 (15:11 -0400)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Tue, 27 Apr 2010 19:11:57 +0000 (15:11 -0400)
libust/tracectl.c

index 74ad4ea6be59a309ab8a4634ae7af15d48725d2b..39756a55fec0e72602479593fce153408fc950d5 100644 (file)
@@ -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;
This page took 0.024641 seconds and 4 git commands to generate.