Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:19
erlang
0904-os_mon-Fix-windows-compiler-warnings.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0904-os_mon-Fix-windows-compiler-warnings.patch of Package erlang
From 7738a4b714b8b82179e1a3f6f3bf2c02a6b7f2a1 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson <sverker@erlang.org> Date: Fri, 24 Apr 2020 10:47:29 +0200 Subject: [PATCH 5/7] os_mon: Fix windows compiler warnings --- lib/os_mon/c_src/nteventlog/elog_main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/os_mon/c_src/nteventlog/elog_main.c b/lib/os_mon/c_src/nteventlog/elog_main.c index c31e3ef1ff..f1baaa4084 100644 --- a/lib/os_mon/c_src/nteventlog/elog_main.c +++ b/lib/os_mon/c_src/nteventlog/elog_main.c @@ -266,11 +266,11 @@ BOOL output_record(char *category, EVENTLOGRECORD *event){ strlen(PIPE_LOG_FORMAT) + PIPE_LOG_EXTRA); sprintf(buff,PIPE_LOG_FORMAT, - strlen(tbuff),tbuff, - strlen(category), category, - strlen(fac), fac, - strlen(sev), sev, - strlen(bigbuff), bigbuff); + (int)strlen(tbuff), tbuff, + (int)strlen(category), category, + (int)strlen(fac), fac, + (int)strlen(sev), sev, + (int)strlen(bigbuff), bigbuff); ret = data_to_pipe(buff,ackbuff, ACK_MAX); if(ret && strcmp(ackbuff,PIPE_LOG_ACK)) ret = FALSE; -- 2.26.1
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