Projects
home:Eustace:branches:Eulaceura:Factory
esc
_service:obs_scm:Fix-compilation-failure-caused...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:Fix-compilation-failure-caused-by-gcc12.patch of Package esc
diff --git a/src/lib/coolkey/CoolKey_Message.cpp b/src/lib/coolkey/CoolKey_Message.cpp index 87ee309..7b80f70 100644 --- a/src/lib/coolkey/CoolKey_Message.cpp +++ b/src/lib/coolkey/CoolKey_Message.cpp @@ -213,7 +213,7 @@ void eCKMessage::setBinValue(string &aKey,unsigned char*aValue,int *aSize) if(!aKey.length()) return; - if(aSize <=0 || !aValue) + if(aSize ==0 || !aValue) return; string data = ""; diff --git a/src/lib/nss-http-client/request.cpp b/src/lib/nss-http-client/request.cpp index cabd94f..5428350 100644 --- a/src/lib/nss-http-client/request.cpp +++ b/src/lib/nss-http-client/request.cpp @@ -192,7 +192,7 @@ PRBool PSHttpRequest::setBody(int size, const char* body) { } _bodyLength = size; - sprintf(_body,body); + sprintf(_body,"%s",body); //_body = (char *)body; return PR_TRUE;
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2