summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
Diffstat (limited to 'libhb')
-rw-r--r--libhb/common.c2
-rw-r--r--libhb/common.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libhb/common.c b/libhb/common.c
index 2b2917e5d..4acc293e2 100644
--- a/libhb/common.c
+++ b/libhb/common.c
@@ -1344,7 +1344,7 @@ int hb_srt_add( const hb_job_t * job,
return retval;
}
-char * hb_strdup_printf( char * fmt, ... )
+char * hb_strdup_printf( const char * fmt, ... )
{
int len;
va_list ap;
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);