[vlc-devel] commit: Pointer cast warning ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Aug 30 18:25:55 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat Aug 30 19:24:33 2008 +0300| [10f01e27cac1fdebadd20273ea52f9a26a723f4b] | committer: Rémi Denis-Courmont 

Pointer cast warning

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

 src/video_output/vout_intf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/video_output/vout_intf.c b/src/video_output/vout_intf.c
index 4676707..6732d01 100644
--- a/src/video_output/vout_intf.c
+++ b/src/video_output/vout_intf.c
@@ -560,7 +560,7 @@ int vout_Snapshot( vout_thread_t *p_vout, picture_t *p_pic )
     DIR *path;
     int i_ret;
     bool b_embedded_snapshot;
-    uintmax_t i_id = (uintmax_t)NULL;
+    uintmax_t i_id = (uintptr_t)NULL;
 
     /* */
     val.psz_string = var_GetNonEmptyString( p_vout, "snapshot-path" );




More information about the vlc-devel mailing list