diff options
| author | Frank LENORMAND <lenormf@gmail.com> | 2021-09-10 16:34:38 +0300 |
|---|---|---|
| committer | Frank LENORMAND <lenormf@gmail.com> | 2021-10-23 10:36:37 +0200 |
| commit | c57a86ce6264a4b141dfb462964e4dad3c1b154c (patch) | |
| tree | 9dbd5ed898d8a880b1ec1858132ac4db3aa3ca49 /src/string_utils.cc | |
| parent | 367879ddcf7f332a04cc844ad683caf1c94c933c (diff) | |
src: Fix undefined behaviour
Cppcheck produces the following warnings:
```
shared_string.hh:27:49: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour
shared_string.hh:27:49: error: Signed integer overflow for expression '1<<31'.
```
Fixes #4340
Diffstat (limited to 'src/string_utils.cc')
0 files changed, 0 insertions, 0 deletions
