Fix build failures

Narrowing type conversions in schemarouter and avrorouter.
This commit is contained in:
Markus Mäkelä
2019-05-10 10:36:24 +03:00
parent de95fcc9d6
commit 603eac9cf8
2 changed files with 2 additions and 2 deletions

View File

@ -493,7 +493,7 @@ extern "C" MXS_MODULE* MXS_CREATE_MODULE()
NULL NULL
}; };
auto caps = RCAP_TYPE_NO_RSESSION | RCAP_TYPE_NO_AUTH; static uint64_t caps = RCAP_TYPE_NO_RSESSION | RCAP_TYPE_NO_AUTH;
static MXS_MODULE info = static MXS_MODULE info =
{ {

View File

@ -280,7 +280,7 @@ uint64_t SchemaRouter::getCapabilities()
*/ */
extern "C" MXS_MODULE* MXS_CREATE_MODULE() extern "C" MXS_MODULE* MXS_CREATE_MODULE()
{ {
static auto caps = RCAP_TYPE_CONTIGUOUS_INPUT | RCAP_TYPE_RUNTIME_CONFIG; static uint64_t caps = RCAP_TYPE_CONTIGUOUS_INPUT | RCAP_TYPE_RUNTIME_CONFIG;
static auto desc = "A database sharding router for simple sharding"; static auto desc = "A database sharding router for simple sharding";
static MXS_MODULE info = static MXS_MODULE info =
{ {