[MLX4] fixed warnings in DBG environment
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 1 Jun 2008 17:26:52 +0000 (17:26 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 1 Jun 2008 17:26:52 +0000 (17:26 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1226 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

hw/mlx4/kernel/inc/mlx4_debug.h

index 1baaee6..904ec82 100644 (file)
@@ -159,7 +159,7 @@ end:
 #define MLX4_PRINT(_level_,_flag_,_msg_)  \\r
        { \\r
                int __lvl = _level_; \\r
-               if (g_mlx4_dbg_level >= (__lvl) && \\r
+               if (g_mlx4_dbg_level >= (uint32_t)(__lvl) && \\r
                        (g_mlx4_dbg_flags & (_flag_))) { \\r
                                DbgPrint ("~%d:[MLX4_BUS] %s() :", KeGetCurrentProcessorNumber(), __FUNCTION__); \\r
                                if(__lvl == TRACE_LEVEL_ERROR) DbgPrint ("***ERROR***  "); \\r