[Pkg-voip-commits] [libre] 05/21: odict: use int instead of enum to avoid vararg promotion (#81)
Jonas Smedegaard
dr at jones.dk
Sat Dec 2 22:41:35 UTC 2017
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag debian/0.5.6-1
in repository libre.
commit 5253266a68d558ffba2185d69e4057839a058677
Author: Alfred E. Heggestad <alfred.heggestad at gmail.com>
Date: Sat Sep 23 16:44:32 2017 +0200
odict: use int instead of enum to avoid vararg promotion (#81)
---
include/re_odict.h | 2 +-
src/odict/entry.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/re_odict.h b/include/re_odict.h
index 02d3224..4be38bc 100644
--- a/include/re_odict.h
+++ b/include/re_odict.h
@@ -38,7 +38,7 @@ size_t odict_count(const struct odict *o, bool nested);
int odict_debug(struct re_printf *pf, const struct odict *o);
int odict_entry_add(struct odict *o, const char *key,
- enum odict_type type, ...);
+ int type, ...);
void odict_entry_del(struct odict *o, const char *key);
int odict_entry_debug(struct re_printf *pf, const struct odict_entry *e);
diff --git a/src/odict/entry.c b/src/odict/entry.c
index fb6431a..53daf2b 100644
--- a/src/odict/entry.c
+++ b/src/odict/entry.c
@@ -38,7 +38,7 @@ static void destructor(void *arg)
int odict_entry_add(struct odict *o, const char *key,
- enum odict_type type, ...)
+ int type, ...)
{
struct odict_entry *e;
va_list ap;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/libre.git
More information about the Pkg-voip-commits
mailing list