[vlc-commits] winvlc: fix warning

Rémi Denis-Courmont git at videolan.org
Thu Jul 28 18:51:34 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jul 28 19:35:35 2011 +0300| [8a3032cce81df31901d7363074fa32304a95d45e] | committer: Rémi Denis-Courmont

winvlc: fix warning

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

 bin/winvlc.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/bin/winvlc.c b/bin/winvlc.c
index 50cac7d..31d4db4 100644
--- a/bin/winvlc.c
+++ b/bin/winvlc.c
@@ -249,7 +249,8 @@ static void check_crashdump()
                     MessageBox( NULL, L"There was an error while connecting to the FTP server. "\
                                     "Thanks a lot for the help anyway.",
                                     L"Report sending failed", MB_OK);
-                    fprintf(stderr,"Can't connect to FTP server%d\n",GetLastError());
+                    fprintf(stderr,"Can't connect to FTP server 0x%08lu\n",
+                            (unsigned long)GetLastError());
                 }
                 InternetCloseHandle(Hint);
             }



More information about the vlc-commits mailing list