mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Added patch from AsamK:
- Fixed compile on 64 bit by removing an unnecessary cast to va_list git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6086 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
439ccc94f4
commit
97d0348f23
@ -233,7 +233,7 @@ int rs_sprintf_args(std::string &str, const char *fmt, va_list ap)
|
||||
{
|
||||
char *buffer = NULL;
|
||||
|
||||
int retval = vasprintf(&buffer, fmt, (va_list) ap);
|
||||
int retval = vasprintf(&buffer, fmt, ap);
|
||||
|
||||
if (retval >= 0) {
|
||||
if (buffer) {
|
||||
@ -264,7 +264,7 @@ int rs_sprintf_append_args(std::string &str, const char *fmt, va_list ap)
|
||||
{
|
||||
char *buffer = NULL;
|
||||
|
||||
int retval = vasprintf(&buffer, fmt, (va_list) ap);
|
||||
int retval = vasprintf(&buffer, fmt, ap);
|
||||
|
||||
if (retval >= 0) {
|
||||
if (buffer) {
|
||||
|
Loading…
Reference in New Issue
Block a user