Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
multimedia:libs
cdparanoia
cdparanoia-III-c++.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cdparanoia-III-c++.patch of Package cdparanoia
--- utils.h +++ utils.h @@ -86,7 +86,7 @@ static inline char *copystring(const char *s){ if(s){ - char *ret=malloc((strlen(s)+1)*sizeof(char)); + char *ret=(char *)malloc((strlen(s)+1)*sizeof(char)); strcpy(ret,s); return(ret); } @@ -96,9 +96,9 @@ static inline char *catstring(char *buff,const char *s){ if(s){ if(buff) - buff=realloc(buff,strlen(buff)+strlen(s)+1); + buff=(char *)realloc(buff,strlen(buff)+strlen(s)+1); else - buff=calloc(strlen(s)+1,1); + buff=(char *)calloc(strlen(s)+1,1); strcat(buff,s); } return(buff);
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