summaryrefslogtreecommitdiff
path: root/src/gd.h
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2013-04-23 10:40:52 +0200
committerOndřej Surý <ondrej@sury.org>2013-04-23 11:01:57 +0200
commite5dcee5ddf9fc52f221c4fc9ce60fe3a8ec08d9e (patch)
tree32b39ed277e036f8341721c83a37a962df4c2eac /src/gd.h
parentbfbbf3c9f26817f436f06ae004e1ab9d47344d8e (diff)
downloadlibgd-e5dcee5ddf9fc52f221c4fc9ce60fe3a8ec08d9e.tar.gz
gdErrorMethod declaration was wrong, we need to pass rest of the arguments in va_list
Diffstat (limited to 'src/gd.h')
-rw-r--r--src/gd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gd.h b/src/gd.h
index 4335f7b..892a24b 100644
--- a/src/gd.h
+++ b/src/gd.h
@@ -346,7 +346,7 @@ gdFont;
/* Text functions take these. */
typedef gdFont *gdFontPtr;
-typedef void(*gdErrorMethod)(int, const char *, ...);
+typedef void(*gdErrorMethod)(int, const char *, va_list);
BGD_DECLARE(void) gdSetErrorMethod(gdErrorMethod);
BGD_DECLARE(void) gdClearErrorMethod(void);