mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-07-09 02:26:34 +00:00
[PR #793] [MERGED] Fix: Integer literal is too large to be represented as signed integer… #1311
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/TheAlgorithms/C/pull/793
Author: @ghost
Created: 2/3/2021
Status: ✅ Merged
Merged: 2/18/2021
Merged by: @Panquesito7
Base:
master← Head:master📝 Commits (1)
de911c9Fix: Integer literal is too large to be represented as signed integer typed📊 Changes
1 file changed (+3 additions, -3 deletions)
View changed files
📝
hash/hash_sdbm.c(+3 -3)📄 Description
Fixed the warning integer literal is too large to be represented as singed integer. The file now compiles successfully.
Description of Change
In the file hash/hash_sdbm.c the integer literals ( in the line: 36, 38, 39 ) were too large to be signed and were error prone. Simply making them unsigned fixes the issue.
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.