Only cast the result.
This commit is contained in:
parent
739b75b0b6
commit
239a1c88d8
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue