Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • B bdftopcf
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • xorgxorg
  • util
  • bdftopcf
  • Merge requests
  • !6

atom: Update Hash() to be unsigned

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Jeremy Huddleston Sequoia requested to merge jeremyhu/bdftopcf:master into master Nov 27, 2022
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 1

This avoids undefined behavior (left shift overflow in signed integer type)

atom.c:62:16: runtime error: left shift of 1324774199 by 3 places cannot be represented in type 'int'

Signed-off-by: Jeremy Huddleston Sequoia jeremyhu@apple.com

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: master