[vlc-devel] commit: Kill a warning with an explicit cast for windows. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Sat Mar 8 11:35:00 CET 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Mar  8 02:34:42 2008 -0800| [c01aca41d6666f91e3126ccb9e0c2af518b72dee]

Kill a warning with an explicit cast for windows.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c01aca41d6666f91e3126ccb9e0c2af518b72dee
---

 modules/access_filter/timeshift.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access_filter/timeshift.c b/modules/access_filter/timeshift.c
index 4e7c323..c241a24 100644
--- a/modules/access_filter/timeshift.c
+++ b/modules/access_filter/timeshift.c
@@ -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 )
 {




More information about the vlc-devel mailing list