Debugger stuff, and changing to vcproj's/sln.

This commit is contained in:
Ben Vanik
2015-05-09 17:48:12 -07:00
parent 4411a4499d
commit 7a00b76a6e
97 changed files with 4039 additions and 1643 deletions

View File

@@ -1666,7 +1666,7 @@ uint32_t MicroProfileWebServerPort()
void MicroProfileDumpHtml(const char* pFile)
{
uint32_t nLen = strlen(pFile);
uint32_t nLen = uint32_t(strlen(pFile));
if(nLen > sizeof(S.HtmlDumpPath)-1)
{
return;
@@ -1914,7 +1914,7 @@ static uint64_t g_nMicroProfileDataSent = 0;
void MicroProfileWriteSocket(void* Handle, size_t nSize, const char* pData)
{
g_nMicroProfileDataSent += nSize;
send(*(MpSocket*)Handle, pData, nSize, 0);
send(*(MpSocket*)Handle, pData, int(nSize), 0);
}

View File

@@ -49,6 +49,8 @@
#define MicroProfileSetDisplayMode(f) do{}while(0)
#else
#pragma warning(disable: 4244) // implicit conversion from float -> int
#ifndef MICROPROFILE_DRAWCURSOR
#define MICROPROFILE_DRAWCURSOR 0
#endif