This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
DPF
mirror of
https://github.com/DISTRHO/DPF
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Protect ARRAY_SIZE macro from multiple division usage
pull/321/merge
falkTX
3 years ago
parent
e6be1c3e7d
commit
148806b332
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
distrho/src/DistrhoDefines.h
+ 1
- 1
distrho/src/DistrhoDefines.h
View File
@@ -211,7 +211,7 @@ private: \
#endif
/* Useful macros */
#define ARRAY_SIZE(ARRAY) sizeof(ARRAY)/sizeof(ARRAY[0])
#define ARRAY_SIZE(ARRAY)
(
sizeof(ARRAY)/sizeof(ARRAY[0])
)
/* Useful typedefs */
typedef unsigned char uchar;
Write
Preview
Loading…
Cancel
Save