typedefs corrected, made MS VC++ specific to fix problems of that compiler

git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@140 119443c7-1b9e-41f8-b6fc-b9c35fce742c
This commit is contained in:
Oxy
2007-03-02 13:53:08 +00:00
parent 0d451c9c8e
commit 2ac3819f8c
4 changed files with 24 additions and 17 deletions

View File

@@ -39,6 +39,9 @@
#include <assert.h>
#include <stdarg.h>
#ifndef UPNP_USE_MSVCPP
#include <stdint.h>
#endif
#ifndef WIN32
#include <arpa/inet.h>
@@ -1903,7 +1906,7 @@ http_MakeMessage( INOUT membuffer * buf,
{
bignum = ( off_t )va_arg( argp, off_t );
sprintf( tempbuf, "%lld", (ulong64)bignum );
sprintf( tempbuf, "%lld", (int64_t)bignum );
if( membuffer_append( buf, tempbuf, strlen( tempbuf ) ) != 0 ) {
goto error_handler;
}