Some fixes for OS X:

- Find enet properly
- Type conversion of size_t's in JS

This was SVN commit r6324.
This commit is contained in:
Matei
2008-08-11 04:18:10 +00:00
parent b9c8aace70
commit 09f97a3422
5 changed files with 7 additions and 6 deletions
+2 -2
View File
@@ -5,13 +5,13 @@
#include "ScriptCustomTypes.h"
template <>
CStrW ToNetString(const unsigned &val)
CStrW ToNetString(const size_t &val)
{
return CStrW(val);
}
template <>
void SetFromNetString(unsigned &val, const CStrW& string)
void SetFromNetString(size_t &val, const CStrW& string)
{
val=string.ToUInt();
}