projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0024180: Eliminate CLang / GCC compiler warning -Wswitch
[occt.git]
/
src
/
math
/
math_DoubleTab.gxx
diff --git
a/src/math/math_DoubleTab.gxx
b/src/math/math_DoubleTab.gxx
index
083ddb4
..
65af8e2
100755
(executable)
--- a/
src/math/math_DoubleTab.gxx
+++ b/
src/math/math_DoubleTab.gxx
@@
-25,7
+25,7
@@
#include <Standard_Integer.hxx>
// macro to get size of C array
-#define CARRAY_LENGTH(arr) (sizeof(arr)/sizeof(arr[0]))
+#define CARRAY_LENGTH(arr) (
int)(
sizeof(arr)/sizeof(arr[0]))
void math_DoubleTab::Allocate()
{