summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
Diffstat (limited to 'libhb')
-rw-r--r--libhb/ports.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/ports.c b/libhb/ports.c
index 0f5ed363d..4a46cd5c8 100644
--- a/libhb/ports.c
+++ b/libhb/ports.c
@@ -467,7 +467,7 @@ void hb_get_temporary_directory( char path[512] )
if( base[strlen(base)-1] == '/' )
base[strlen(base)-1] = '\0';
- snprintf( path, 512, "%s/hb.%d", base, getpid() );
+ snprintf( path, 512, "%s/hb.%d", base, (int)getpid() );
}
/************************************************************************