Skip to content

convert: avoid left shift into sign bit#362

Merged
bgilbert merged 1 commit into
openslide:mainfrom
bgilbert:ub
Jun 7, 2026
Merged

convert: avoid left shift into sign bit#362
bgilbert merged 1 commit into
openslide:mainfrom
bgilbert:ub

Conversation

@bgilbert
Copy link
Copy Markdown
Member

@bgilbert bgilbert commented Jun 7, 2026

Don't invoke undefined behavior due to integer promotion.

Don't invoke undefined behavior due to integer promotion.

Signed-off-by: Benjamin Gilbert <bgilbert@cs.cmu.edu>
@openslide-bot
Copy link
Copy Markdown
Member

DCO signed off ✔️

All commits have been signed off. You have certified to the terms of the Developer Certificate of Origin, version 1.1. In particular, you certify that this contribution has not been developed using information obtained under a non-disclosure agreement or other license terms that forbid you from contributing it under the GNU Lesser General Public License, version 2.1.

@bgilbert bgilbert merged commit 836f84e into openslide:main Jun 7, 2026
61 checks passed
@bgilbert bgilbert deleted the ub branch June 7, 2026 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants