summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-07-01 12:38:14 +0000
committerjstebbins <[email protected]>2011-07-01 12:38:14 +0000
commit627b77a266f554b8f001b8d6d1a52f2ab971ff34 (patch)
tree01364a10259c128d423badf8af5d07558ccc92c9 /libhb/common.h
parent93017898a926bd2b6c45e763bcccc360b0dff7d5 (diff)
fix some warnings in the cli
and add printf attribute to hb_strdup_printf git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4081 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.h')
-rw-r--r--libhb/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/common.h b/libhb/common.h
index d350a6bf1..712960248 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -840,7 +840,7 @@ typedef void hb_error_handler_t( const char *errmsg );
extern void hb_register_error_handler( hb_error_handler_t * handler );
-char * hb_strdup_printf( char * fmt, ... );
+char * hb_strdup_printf(const char *fmt, ...) HB_WPRINTF(1, 2);
int hb_yuv2rgb(int yuv);
int hb_rgb2yuv(int rgb);