After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 771608 - left shift of signed "1" by 63 places not defined behaviour (in update bits_panel)
left shift of signed "1" by 63 places not defined behaviour (in update bits_p...
Product: gnome-calculator
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gcalctool maintainers
gcalctool maintainers
Depends on:
Reported: 2016-09-18 03:48 UTC by Tobias Mueller
Modified: 2016-09-25 01:17 UTC
See Also:
GNOME target: ---
GNOME version: ---

patch (1.01 KB, patch)
2016-09-18 03:48 UTC, Tobias Mueller
committed Details | Review

Description Tobias Mueller 2016-09-18 03:48:27 UTC
Created attachment 335789 [details] [review]

possibly a bug in vala.

Here, however, we can fix it by shifting an unsigned int, rather than a signed one.
Comment 1 Robert Roth 2016-09-18 06:50:35 UTC
Review of attachment 335789 [details] [review]:

Good catch.
Comment 2 Robert Roth 2016-09-25 01:17:13 UTC
Thanks, pushed to master.