jcc.c:1012:27: warning: implicit conversion changes signedness: 'jb_err' (aka 'enum privoxy_err') to 'int' [-Wsign-conversion]
jb_err_to_string(err));
~~~~~~~~~~~~~~~~ ^~~
jcc.c:1721:45: warning: implicit conversion changes signedness: 'jb_err' (aka 'enum privoxy_err') to 'int' [-Wsign-conversion]
csp->ip_addr_str, jb_err_to_string(err));
~~~~~~~~~~~~~~~~ ^~~
* Returns : A string with the jb_err translation
*
*********************************************************************/
-const char *jb_err_to_string(int jb_error)
+const char *jb_err_to_string(jb_err jb_error)
{
switch (jb_error)
{
extern void init_log_module(void);
extern void show_version(const char *prog_name);
extern void log_error(int loglevel, const char *fmt, ...);
-extern const char *jb_err_to_string(int jb_error);
+extern const char *jb_err_to_string(jb_err jb_error);
#endif /* ndef ERRLOG_H_INCLUDED */