Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:25
erlang
2074-Fix-warning-about-Sint-incompatible-to-LPD...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2074-Fix-warning-about-Sint-incompatible-to-LPDWORD.patch of Package erlang
From ae5aaa60089fdf1fcc64d9e1bee2674ece9d48de Mon Sep 17 00:00:00 2001 From: Raimo Niskanen <raimo@erlang.org> Date: Mon, 28 Aug 2023 17:55:57 +0200 Subject: [PATCH 4/5] Fix warning about Sint* incompatible to LPDWORD --- erts/emulator/beam/bif.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/erts/emulator/beam/bif.c b/erts/emulator/beam/bif.c index 6aa00d1ad0..f7594691e0 100644 --- a/erts/emulator/beam/bif.c +++ b/erts/emulator/beam/bif.c @@ -4228,9 +4228,11 @@ BIF_RETTYPE display_string_2(BIF_ALIST_2) #endif { #ifdef __WIN32__ - if (!WriteFile(fd, str, len, &written, NULL)) { + Uint32 w; + if (!WriteFile(fd, str, len, &w, NULL)) { goto error; } + written = (Sint)w; #else written = 0; do { -- 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