tracing: Fix sparse warning with is_signed_type() macro
[deliverable/linux.git] / include / linux / ftrace_event.h
index a3d489531d83a7c396aaa6a24d09961eeae47929..43ef8b6cce7fb26c2f1c2f8e4c16da112d4a9fec 100644 (file)
@@ -272,7 +272,7 @@ extern int trace_define_field(struct ftrace_event_call *call, const char *type,
 extern int trace_add_event_call(struct ftrace_event_call *call);
 extern void trace_remove_event_call(struct ftrace_event_call *call);
 
-#define is_signed_type(type)   (((type)(-1)) < 0)
+#define is_signed_type(type)   (((type)(-1)) < (type)0)
 
 int trace_set_clr_event(const char *system, const char *event, int set);
 
This page took 0.02742 seconds and 5 git commands to generate.