summaryrefslogtreecommitdiff
path: root/pico/main.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2015-04-17 09:40:29 -0600
committerEduardo Chappa <chappa@washington.edu>2015-04-17 09:40:29 -0600
commit69b0d3a5dff7b8be0deada358dad1a55f319d769 (patch)
tree9e8196a7d34e6b3a87525992c0f4c85362d06a07 /pico/main.c
parentbf49fb6584bfd8c4cfae5bab4c5f46b155bcb5a7 (diff)
downloadalpine-69b0d3a5dff7b8be0deada358dad1a55f319d769.tar.xz
NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE
* Call to utf8_parameters was not prototyped. * Call to utf8_parameters did not return NULL when the value to be searched was not defined by that function, causing a crash. Reported and fixed by Dennis Davis.
Diffstat (limited to 'pico/main.c')
-rw-r--r--pico/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pico/main.c b/pico/main.c
index 9fe41789..22e376bd 100644
--- a/pico/main.c
+++ b/pico/main.c
@@ -31,12 +31,12 @@ static char rcsid[] = "$Id: main.c 1184 2008-12-16 23:52:15Z hubert@u.washington
#include "headers.h"
#include "../c-client/mail.h"
#include "../c-client/rfc822.h"
+#include "../c-client/utf8.h"
#include "../pith/osdep/collate.h"
#include "../pith/charconv/filesys.h"
#include "../pith/charconv/utf8.h"
#include "../pith/conf.h"
-
/*
* Useful internal prototypes
*/
@@ -167,7 +167,7 @@ main(int argc, char *argv[])
char *err = NULL;
#ifndef _WINDOWS
- utf8_parameters(SET_UCS4WIDTH, pith_ucs4width);
+ utf8_parameters(SET_UCS4WIDTH, (void *) pith_ucs4width);
#endif /* _WINDOWS */
set_input_timeout(600);