Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
guile
guile-64bit.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File guile-64bit.patch of Package guile
Index: libguile/hash.c =================================================================== --- libguile/hash.c.orig +++ libguile/hash.c @@ -273,7 +273,7 @@ scm_hasher(SCM obj, unsigned long n, siz unsigned long scm_ihashq (SCM obj, unsigned long n) { - return (SCM_UNPACK (obj) >> 1) % n; + return ((unsigned long) SCM_UNPACK (obj) >> 1) % n; } @@ -309,7 +309,7 @@ scm_ihashv (SCM obj, unsigned long n) if (SCM_NUMP(obj)) return (unsigned long) scm_hasher(obj, n, 10); else - return SCM_UNPACK (obj) % n; + return (unsigned long) SCM_UNPACK (obj) % n; } Index: libguile/struct.c =================================================================== --- libguile/struct.c.orig +++ libguile/struct.c @@ -919,7 +919,7 @@ scm_struct_ihashq (SCM obj, unsigned lon { /* The length of the hash table should be a relative prime it's not necessary to shift down the address. */ - return SCM_UNPACK (obj) % n; + return (unsigned long) SCM_UNPACK (obj) % n; } /* Return the hash of struct OBJ, modulo N. Traverse OBJ's fields to
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor