From 10bac03733888bc1499ccfffb2ce2820bbe29c89 Mon Sep 17 00:00:00 2001 From: chrchr-github Date: Mon, 8 Apr 2024 20:49:30 +0200 Subject: [PATCH] clang-tidy --- lib/platform.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/platform.h b/lib/platform.h index 5e4e51e71f6..6c2d17dfb9d 100644 --- a/lib/platform.h +++ b/lib/platform.h @@ -88,17 +88,17 @@ class CPPCHECKLIB Platform { nonneg int long_long_bit; /// bits in long long /** size of standard types */ - nonneg int sizeof_bool; - nonneg int sizeof_short; - nonneg int sizeof_int; - nonneg int sizeof_long; - nonneg int sizeof_long_long; - nonneg int sizeof_float; - nonneg int sizeof_double; - nonneg int sizeof_long_double; - nonneg int sizeof_wchar_t; - nonneg int sizeof_size_t; - nonneg int sizeof_pointer; + std::size_t sizeof_bool; + std::size_t sizeof_short; + std::size_t sizeof_int; + std::size_t sizeof_long; + std::size_t sizeof_long_long; + std::size_t sizeof_float; + std::size_t sizeof_double; + std::size_t sizeof_long_double; + std::size_t sizeof_wchar_t; + std::size_t sizeof_size_t; + std::size_t sizeof_pointer; char defaultSign; // unsigned:'u', signed:'s', unknown:'\0'