Only cast the result.

This commit is contained in:
King_DuckZ 2014-02-22 12:26:26 +01:00
parent 739b75b0b6
commit 239a1c88d8

View file

@ -10,7 +10,7 @@
#include <endian.h> #include <endian.h>
#include <vector> #include <vector>
#define lengthof(a) (static_cast<int32_t>(sizeof(a)) / static_cast<int32_t>(sizeof(a[0]))) #define lengthof(a) (static_cast<int32_t>(sizeof(a) / sizeof(a[0])))
namespace cloonel { namespace cloonel {
namespace { namespace {