Skip to content
Snippets Groups Projects
Commit e5400405 authored by rswindell's avatar rswindell
Browse files

Eliminate gcc warning about using -1 for bitfield value.

parent c4c917d7
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,7 @@ static ini_bitdesc_t ftp_options[] = {
{ FTP_OPT_LOCAL_TIMEZONE ,"LOCAL_TIMEZONE" },
{ FTP_OPT_MUTE ,"MUTE" },
/* terminator */
{ -1 ,NULL }
{ 0 ,NULL }
};
#ifdef DLLEXPORT
......
......@@ -171,7 +171,7 @@ static ini_bitdesc_t mail_options[] = {
{ MAIL_OPT_LOCAL_TIMEZONE ,"LOCAL_TIMEZONE" },
{ MAIL_OPT_MUTE ,"MUTE" },
/* terminator */
{ -1 ,NULL }
{ 0 ,NULL }
};
#ifdef DLLEXPORT
......
......@@ -109,7 +109,7 @@ static ini_bitdesc_t service_options[] = {
{ SERVICE_OPT_NATIVE ,"NATIVE" },
{ SERVICE_OPT_FULL_ACCEPT ,"FULL_ACCEPT" },
/* terminator */
{ -1 ,NULL }
{ 0 ,NULL }
};
#ifdef __cplusplus
......
......@@ -179,7 +179,7 @@ static ini_bitdesc_t bbs_options[] = {
{ BBS_OPT_LOCAL_TIMEZONE ,"LOCAL_TIMEZONE" },
{ BBS_OPT_MUTE ,"MUTE" },
/* terminator */
{ -1 ,NULL }
{ 0 ,NULL }
};
static ini_bitdesc_t log_mask_bits[] = {
......@@ -192,7 +192,7 @@ static ini_bitdesc_t log_mask_bits[] = {
{ (1<<LOG_INFO) ,"INFO" },
{ (1<<LOG_DEBUG) ,"DEBUG" },
/* the Gubinator */
{ -1 ,NULL }
{ 0 ,NULL }
};
#ifdef __cplusplus
......
......@@ -126,7 +126,7 @@ static ini_bitdesc_t web_options[] = {
{ BBS_OPT_MUTE ,"MUTE" },
/* terminator */
{ -1 ,NULL }
{ 0 ,NULL }
};
#define WEB_DEFAULT_ROOT_DIR "../html"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment