]> git.sesse.net Git - vlc/commitdiff
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 4e7c32306756b6b34640f4b4a63fe8c3401b6d0a..c241a2431b32cc82582fecdc3fe8e475d43faf90 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 )
 {