]> git.sesse.net Git - vlc/blobdiff - src/misc/update_crypto.c
some platforms can have int64_t typedefed to long long ..This patch prevents illegal...
[vlc] / src / misc / update_crypto.c
index ccf5c5770671ff94273f76e0862fd9b316e1bf3f..f16cb0fe10ebdf571dad46a53adadb4a2559ec2b 100644 (file)
@@ -42,7 +42,7 @@
 #include "vlc_common.h"
 #include <vlc_stream.h>
 #include <vlc_strings.h>
-#include <vlc_charset.h>
+#include <vlc_fs.h>
 
 #include "update.h"
 
@@ -659,7 +659,7 @@ static int hash_from_binary_file( const char *psz_file, gcry_md_hd_t hd )
     uint8_t buffer[4096];
     size_t i_read;
 
-    FILE *f = utf8_fopen( psz_file, "r" );
+    FILE *f = vlc_fopen( psz_file, "r" );
     if( !f )
         return -1;