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:
thunder2 2013-01-23 13:19:05 +00:00
parent 439ccc94f4
commit 97d0348f23

View File

@ -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) {