#ifndef SERVER
#include "mapblock_mesh.h"
#endif
+#include "util/string.h"
#define PP(x) "("<<(x).X<<","<<(x).Y<<","<<(x).Z<<")"
void MapBlock::expireDayNightDiff()
{
- INodeDefManager *nodemgr = m_gamedef->ndef();
+ //INodeDefManager *nodemgr = m_gamedef->ndef();
if(data == NULL){
m_day_night_differs = false;
("MapBlock::deSerialize: no enough input data");
is_underground = tmp;
is.read((char*)*databuf_nodelist, nodecount * ser_length);
- if(is.gcount() != nodecount * ser_length)
+ if((u32)is.gcount() != nodecount * ser_length)
throw SerializationError
("MapBlock::deSerialize: no enough input data");
}