Browse Source

V4L/DVB (4485): Fix a warning on PPC64

drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c: In function 'set_standard':
drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c:33: warning: format '%llx' expects type 'long long unsigned int', but argument 2 has type 'v4l2_std_id'

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Mauro Carvalho Chehab 19 years ago
parent
commit
40346b290f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c

+ 1 - 1
drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c

@@ -31,7 +31,7 @@ static void set_standard(struct pvr2_hdw *hdw)
 	v4l2_std_id vs;
 	v4l2_std_id vs;
 	vs = hdw->std_mask_cur;
 	vs = hdw->std_mask_cur;
 	pvr2_trace(PVR2_TRACE_CHIPS,
 	pvr2_trace(PVR2_TRACE_CHIPS,
-		   "i2c v4l2 set_standard(0x%llx)",(__u64)vs);
+		   "i2c v4l2 set_standard(0x%llx)",(long long unsigned)vs);
 
 
 	pvr2_i2c_core_cmd(hdw,VIDIOC_S_STD,&vs);
 	pvr2_i2c_core_cmd(hdw,VIDIOC_S_STD,&vs);
 }
 }