Skip to content
Snippets Groups Projects
Commit 6773ffa7 authored by Pekka Paalanen's avatar Pekka Paalanen
Browse files

libweston: fix bitshift in weston_idalloc_get_id()


Fixes the following UBSan error:

../../git/weston/libweston/id-number-allocator.c:140:16: runtime error:
left shift of 1 by 31 places cannot be represented in type 'int'

Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
parent ed51e9ae
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment