diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-09-05 19:05:54 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-09-08 20:13:44 (GMT) |
commit | fe884ef58959412972a5a84231d1ee06f34a80be (patch) | |
tree | 6a5177a8c92d2e643d42768135fb0c7192756b56 /src/analysis/db/items/bookmark.c | |
parent | cb74c4467fc623fbca4aad3b07abda3ed1246590 (diff) |
Fixed a bug by transfering variable argument lists properly.
Diffstat (limited to 'src/analysis/db/items/bookmark.c')
-rw-r--r-- | src/analysis/db/items/bookmark.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/analysis/db/items/bookmark.c b/src/analysis/db/items/bookmark.c index be75d0f..747053c 100644 --- a/src/analysis/db/items/bookmark.c +++ b/src/analysis/db/items/bookmark.c @@ -24,6 +24,7 @@ #include "bookmark.h" +#include <stdarg.h> #include <stdio.h> #include <sys/socket.h> @@ -137,7 +138,7 @@ static bool g_bookmark_collection_create_db_table(const GBookmarkCollection *, s static bool g_bookmark_collection_setup_load(GBookmarkCollection *, bound_value **, size_t *); /* Détermine si un élément est déjà présent ou non. */ -static GDbItem *g_bookmark_collection_has_key(GBookmarkCollection *, va_list *); +static GDbItem *g_bookmark_collection_has_key(GBookmarkCollection *, va_list); @@ -814,7 +815,7 @@ static bool g_bookmark_collection_setup_load(GBookmarkCollection *collec, bound_ * * ******************************************************************************/ -static GDbItem *g_bookmark_collection_has_key(GBookmarkCollection *collec, va_list *ap) +static GDbItem *g_bookmark_collection_has_key(GBookmarkCollection *collec, va_list ap) { GDbItem *result; /* Bilan à retourner */ vmpa2t *ref; /* Adresse de référence */ |