Kill a warning with an explicit cast for windows.
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 8 Mar 2008 10:34:42 +0000 (02:34 -0800)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 8 Mar 2008 10:34:42 +0000 (02:34 -0800)
modules/access_filter/timeshift.c

index 4e7c323..c241a24 100644 (file)
@@ -556,7 +556,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
  * GetTmpFilePath:
  *****************************************************************************/
 #ifdef WIN32
-#define getpid() GetCurrentProcessId()
+#define getpid() (int)GetCurrentProcessId()
 #endif
 static char *GetTmpFilePath( access_t *p_access )
 {