]> git.sesse.net Git - vlc/blobdiff - include/vlc_fixups.h
Zip: change path to the library in the buildsystem
[vlc] / include / vlc_fixups.h
index b88a900b2383c353067fc814ccbae9b1554f8ab7..726bb9e2e02a2ecb335df69bbbbc68dd43855272 100644 (file)
@@ -50,7 +50,7 @@ static inline int vasprintf (char **strp, const char *fmt, va_list ap)
     if (res == NULL)
         return -1;
     *strp = res;
-    return vsprintf (res, fmt, ap);
+    return vsnprintf (res, len, fmt, ap);
 #else
     /* HACK: vsnprintf in the WinCE API behaves like
      * the one in glibc 2.0 and doesn't return the number of characters