summaryrefslogtreecommitdiff
path: root/lib/formdata.c
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-09-26 17:24:34 +0900
committerDaniel Stenberg <daniel@haxx.se>2015-09-26 23:10:20 +0200
commit119037325de02579f5c58256ca2ed2a0aa592c86 (patch)
tree5cab499d5739de106ecb301aebb23dcbb2c65a6a /lib/formdata.c
parent710bb89cf3f952e731b7bd0b7d301f8b1cd0015c (diff)
downloadcurl-119037325de02579f5c58256ca2ed2a0aa592c86.tar.gz
build: fix failures with -Wcast-align and -Werror
Closes #457
Diffstat (limited to 'lib/formdata.c')
-rw-r--r--lib/formdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/formdata.c b/lib/formdata.c
index 9e8ce4ea0..66449b982 100644
--- a/lib/formdata.c
+++ b/lib/formdata.c
@@ -538,7 +538,7 @@ CURLFORMcode FormAdd(struct curl_httppost **httppost,
/* this "cast increases required alignment of target type" but
we consider it OK anyway */
struct curl_slist* list = array_state?
- (struct curl_slist*)array_value:
+ (struct curl_slist*)(void*)array_value:
va_arg(params, struct curl_slist*);
if(current_form->contentheader)