[vlc-devel] commit: Fix va_start invocation ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun May 25 15:44:28 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Sun May 25 16:45:50 2008 +0300| [010b9a85ea1906d27e48fdeaab5c1d1543f8f81c]

Fix va_start invocation

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

 include/vlc_fixups.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
index 42dbfbf..2525c86 100644
--- a/include/vlc_fixups.h
+++ b/include/vlc_fixups.h
@@ -58,7 +58,7 @@ static inline int asprintf (char **strp, const char *fmt, ...)
 {
     va_list ap;
     int ret;
-    va_start (fmt, ap);
+    va_start (ap, fmt);
     ret = vasprintf (strp, fmt, ap);
     va_end (ap);
     return ret;




More information about the vlc-devel mailing list