summaryrefslogtreecommitdiffstats
path: root/libhb/work.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2013-11-26 22:12:55 +0000
committerjstebbins <[email protected]>2013-11-26 22:12:55 +0000
commit779fa193b6433f0afadc3fe3c3a6ad72dce54b2c (patch)
tree9f42ecc28232e0043d095d8a0f9eab5bb95d1b47 /libhb/work.c
parent58f46542a4d4629050ebc6dfed50f4ec2bcfa0a4 (diff)
libhb: fix a bunch of compiler warnings
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5905 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/work.c')
-rw-r--r--libhb/work.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/work.c b/libhb/work.c
index 43dbdeaaa..b03ce13e2 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -22,7 +22,7 @@ typedef struct
{
hb_list_t * jobs;
hb_job_t ** current_job;
- int * error;
+ hb_error_code * error;
volatile int * die;
} hb_work_t;
@@ -47,7 +47,7 @@ static void filter_loop( void * );
* @param die Handle to user inititated exit indicator.
* @param error Handle to error indicator.
*/
-hb_thread_t * hb_work_init( hb_list_t * jobs, volatile int * die, int * error, hb_job_t ** job )
+hb_thread_t * hb_work_init( hb_list_t * jobs, volatile int * die, hb_error_code * error, hb_job_t ** job )
{
hb_work_t * work = calloc( sizeof( hb_work_t ), 1 );