aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/cubeb/cubeb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cubeb/cubeb.h b/include/cubeb/cubeb.h
index e623d78..4c016e0 100644
--- a/include/cubeb/cubeb.h
+++ b/include/cubeb/cubeb.h
@@ -217,7 +217,7 @@ typedef struct {
/** Device collection. */
typedef struct {
uint32_t count; /**< Device count in collection. */
- cubeb_device_info * device[0]; /**< Array of pointers to device info. */
+ cubeb_device_info * device[1]; /**< Array of pointers to device info. */
} cubeb_device_collection;
/** User supplied data callback.