aboutsummaryrefslogtreecommitdiffstats
path: root/ucs2-afb/ucs_binding.c
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2017-07-13 23:39:04 +0200
committerGitHub <noreply@github.com>2017-07-13 23:39:04 +0200
commit8a894027378ac641c5c1de428264c8d8f5bac0f3 (patch)
treeb5f6127a1acd950e3e8915b7efdf8bb047995af0 /ucs2-afb/ucs_binding.c
parent4b64b8ea3d055bf3b1af751b399b3a9e1d0baa2b (diff)
parent60388e7a0cdd6a1fa8190c6f50242c6c566155aa (diff)
Merge pull request #8 from tkummermehr/RemoveWarnings
Removing last two warnings, when set to pedantic only
Diffstat (limited to 'ucs2-afb/ucs_binding.c')
-rw-r--r--ucs2-afb/ucs_binding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucs2-afb/ucs_binding.c b/ucs2-afb/ucs_binding.c
index c1a0a06..814a874 100644
--- a/ucs2-afb/ucs_binding.c
+++ b/ucs2-afb/ucs_binding.c
@@ -67,7 +67,7 @@ static ucsContextT *ucsContextS;
PUBLIC void UcsXml_CB_OnError(const char format[], uint16_t vargsCnt, ...) {
//DEBUG (afbIface, format, args);
va_list args;
- va_start (args, format);
+ va_start (args, vargsCnt);
vfprintf (stderr, format, args);
va_end(args);
}