summaryrefslogtreecommitdiffstats
path: root/libhb/decsrtsub.c
diff options
context:
space:
mode:
authorkonablend <[email protected]>2009-06-25 03:36:26 +0000
committerkonablend <[email protected]>2009-06-25 03:36:26 +0000
commiteef252057e08aeffc4a8b43d6eba838012debc28 (patch)
tree711122c860cc6fa878a0681046da0e0f20ed7ed4 /libhb/decsrtsub.c
parent1f5936650ac23cec965a8934b36a21b4f4bcfa16 (diff)
Format cleanup.
- fixed ports.c to use a more portable method of getting integral pthread_t representation; resolves mingw crash. - added GCC attribute to generate compiler warnings for invalid usage of hb_log, hb_deep_log and hb_errror; see new macro HB_WPRINTF(s,v) in common.h. - fixed various invalid usage of above functions on osx i386/x86_64, and mingw. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2618 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/decsrtsub.c')
-rw-r--r--libhb/decsrtsub.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libhb/decsrtsub.c b/libhb/decsrtsub.c
index 190c2df80..51aaeeb90 100644
--- a/libhb/decsrtsub.c
+++ b/libhb/decsrtsub.c
@@ -123,8 +123,7 @@ static hb_buffer_t *srt_read( hb_work_private_t *pv )
hb_error( "Invalid shift sequence" );
} else if ( ( retval == -1 ) && ( errno == EILSEQ ) )
{
- hb_error( "Invalid byte for codeset in input, %d bytes discarded",
- in_size);
+ hb_error( "Invalid byte for codeset in input, %"PRId64" bytes discarded", (int64_t)in_size);
} else if ( ( retval == -1 ) && ( errno == E2BIG ) )
{
hb_error( "Not enough space in output buffer");