[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/8] C++: style: prefer `unsigned` to `unsigned int`
From: |
Akim Demaille |
Subject: |
[PATCH 4/8] C++: style: prefer `unsigned` to `unsigned int` |
Date: |
Sun, 27 May 2018 10:55:31 +0200 |
* data/c++.m4: here.
---
data/c++.m4 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/data/c++.m4 b/data/c++.m4
index 1c41cfa7..2d2a5957 100644
--- a/data/c++.m4
+++ b/data/c++.m4
@@ -454,12 +454,12 @@ m4_define([b4_yytranslate_define],
{
]b4_translate[
};
- const unsigned int user_token_number_max_ = ]b4_user_token_number_max[;
+ const unsigned user_token_number_max_ = ]b4_user_token_number_max[;
const token_number_type undef_token_ = ]b4_undef_token_number[;
if (static_cast<int> (t) <= yyeof_)
return yyeof_;
- else if (static_cast<unsigned int> (t) <= user_token_number_max_)
+ else if (static_cast<unsigned> (t) <= user_token_number_max_)
return translate_table[t];
else
return undef_token_;
--
2.17.0
- [PATCH 0/8] maint: fix more warnings, Akim Demaille, 2018/05/27
- [PATCH 1/8] tests: fix -Wdeprecated warning, Akim Demaille, 2018/05/27
- [PATCH 3/8] C++: style: space before paren, Akim Demaille, 2018/05/27
- [PATCH 4/8] C++: style: prefer `unsigned` to `unsigned int`,
Akim Demaille <=
- [PATCH 5/8] NEWS: update, Akim Demaille, 2018/05/27
- [PATCH 6/8] C++: style: fix indentation, Akim Demaille, 2018/05/27
- [PATCH 2/8] C++: fix -Wdeprecated warnings, Akim Demaille, 2018/05/27
- [PATCH 8/8] regen, Akim Demaille, 2018/05/27
- [PATCH 7/8] bison: please address sanitizer, Akim Demaille, 2018/05/27