diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/core.c | 2 | ||||
-rw-r--r-- | src/common/core.h | 2 | ||||
-rw-r--r-- | src/common/showmsg.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/common/core.c b/src/common/core.c index 7a6584898..e05f5a571 100644 --- a/src/common/core.c +++ b/src/common/core.c @@ -29,7 +29,7 @@ void (*shutdown_callback)(void) = NULL; #if defined(BUILDBOT) - bool buildbotflag; + int buildbotflag = 0; #endif int runflag = CORE_ST_RUN; diff --git a/src/common/core.h b/src/common/core.h index 9dff92625..ecaa2a9d0 100644 --- a/src/common/core.h +++ b/src/common/core.h @@ -8,7 +8,7 @@ extern int arg_c; extern char **arg_v; #if defined(BUILDBOT) - extern bool buildbotflag; + extern int buildbotflag; #endif /// @see E_CORE_ST diff --git a/src/common/showmsg.c b/src/common/showmsg.c index 812cbcf68..8492d6db7 100644 --- a/src/common/showmsg.c +++ b/src/common/showmsg.c @@ -694,7 +694,7 @@ int _vShowMessage(enum msg_type flag, const char *string, va_list ap) if( flag == MSG_WARNING || flag == MSG_ERROR || flag == MSG_SQL ) { - buildbotflag = true; + buildbotflag = 1; } #endif if( |