mirror of
git://sourceware.org/git/libabigail.git
synced 2025-03-05 06:07:49 +00:00
Fix comparison used instead of an assignment
* src/abg-ir.cc (parse_integral_type): An attempt at clang compilation has discovered there to be a comparison with unused result, that apparently should be an assignment. Signed-off-by: Ondrej Oprala <ondrej.oprala@gmail.com>
This commit is contained in:
parent
d09468b69f
commit
9ed9529fcf
@ -9559,7 +9559,7 @@ parse_integral_type(const string& type_name,
|
||||
prev_word = cur_word;
|
||||
cur_word = input.substr(prev_pos, cur_pos - prev_pos);
|
||||
if (cur_word == "long")
|
||||
cur_word == "long long";
|
||||
cur_word = "long long";
|
||||
else
|
||||
{
|
||||
cur_pos = prev_pos;
|
||||
|
Loading…
Reference in New Issue
Block a user