Do not use PRIu[32|64] macros in C++ code
This commit is contained in:
parent
582948e690
commit
3ed4ef40ba
@ -41,14 +41,14 @@ CACHE_STORAGE* createInstance(cache_thread_model_t model,
|
||||
|
||||
if (max_count != 0)
|
||||
{
|
||||
MXS_WARNING("A maximum item count of %" PRIu32 " specified, although 'storage_inMemory' "
|
||||
"does not enforce such a limit.", max_count);
|
||||
MXS_WARNING("A maximum item count of %u specified, although 'storage_inMemory' "
|
||||
"does not enforce such a limit.", (unsigned int)max_count);
|
||||
}
|
||||
|
||||
if (max_size != 0)
|
||||
{
|
||||
MXS_WARNING("A maximum size of %" PRIu64 " specified, although 'storage_inMemory' "
|
||||
"does not enforce such a limit.", max_size);
|
||||
MXS_WARNING("A maximum size of %lu specified, although 'storage_inMemory' "
|
||||
"does not enforce such a limit.", (unsigned long)max_size);
|
||||
}
|
||||
|
||||
try
|
||||
|
@ -40,14 +40,14 @@ CACHE_STORAGE* createInstance(cache_thread_model_t, // Ignored, RocksDB always M
|
||||
|
||||
if (maxCount != 0)
|
||||
{
|
||||
MXS_WARNING("A maximum item count of %" PRIu32 " specifed, although 'storage_rocksdb' "
|
||||
"does not enforce such a limit.", maxCount);
|
||||
MXS_WARNING("A maximum item count of %u specifed, although 'storage_rocksdb' "
|
||||
"does not enforce such a limit.", (unsigned int)maxCount);
|
||||
}
|
||||
|
||||
if (maxSize != 0)
|
||||
{
|
||||
MXS_WARNING("A maximum size of %" PRIu64 " specified, although 'storage_rocksdb' "
|
||||
"does not enforce such a limit.", maxSize);
|
||||
MXS_WARNING("A maximum size of %lu specified, although 'storage_rocksdb' "
|
||||
"does not enforce such a limit.", (unsigned long)maxSize);
|
||||
}
|
||||
|
||||
try
|
||||
|
Loading…
x
Reference in New Issue
Block a user