diff --git a/src/texture.cpp b/src/texture.cpp index f2c6473..442e486 100644 --- a/src/texture.cpp +++ b/src/texture.cpp @@ -10,7 +10,7 @@ #include #include -#define lengthof(a) (static_cast(sizeof(a)) / static_cast(sizeof(a[0]))) +#define lengthof(a) (static_cast(sizeof(a) / sizeof(a[0]))) namespace cloonel { namespace {