diff options
author | Ondřej Surý <ondrej@sury.org> | 2013-04-23 10:40:52 +0200 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2013-04-23 11:01:57 +0200 |
commit | e5dcee5ddf9fc52f221c4fc9ce60fe3a8ec08d9e (patch) | |
tree | 32b39ed277e036f8341721c83a37a962df4c2eac /src/gd.h | |
parent | bfbbf3c9f26817f436f06ae004e1ab9d47344d8e (diff) | |
download | libgd-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |