Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#3 compile warning in dc1394_control.c

closed-fixed
None
5
2002-03-21
2001-10-02
Tim Evers
No

compiling libdc1394 always tells
dc1394_control.c: In function
`dc1394_print_camera_info':
dc1394_control.c:937: warning: unsigned int format,
different type arg (arg 2)

line 937:
printf("CCR_Offset: %ux\n", info->ccr_offset);

corrected:
printf("CCR_Offset: %Lux\n", info->ccr_offset);
//L added by te
ccr_offset is too long for standard hex output.
regards, tim

Discussion

    • assigned_to: nobody --> ddouxchamps
    • status: open --> closed-fixed