Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
4463-erts-Fix-windows-compile-warning.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 4463-erts-Fix-windows-compile-warning.patch of Package erlang
From a0695b06d6887af4b17fcd865048f0c0f5fa7e01 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson <sverker@erlang.org> Date: Tue, 28 Jun 2022 14:18:17 +0200 Subject: [PATCH 3/4] erts: Fix windows compile warning warning C4333: '>>': right shift by too large amount, data loss --- erts/emulator/beam/external.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erts/emulator/beam/external.c b/erts/emulator/beam/external.c index 6386265a19..95b3aebf48 100644 --- a/erts/emulator/beam/external.c +++ b/erts/emulator/beam/external.c @@ -3817,7 +3817,7 @@ enc_term_int(TTBEncodeContext* ctx, ErtsAtomCacheMap *acmp, Eterm obj, byte* ep, ep += 16; put_int32(funp->fe->index, ep); ep += 4; - put_int32(funp->num_free, ep); + put_int32((Uint32)funp->num_free, ep); ep += 4; ep = enc_atom(acmp, funp->fe->module, ep, dflags); ep = enc_term(acmp, make_small(funp->fe->old_index), ep, dflags, off_heap); -- 2.35.3
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