diff options
Diffstat (limited to 'toxav/msi.h')
-rw-r--r-- | toxav/msi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toxav/msi.h b/toxav/msi.h index 0020df4c..428f7d9c 100644 --- a/toxav/msi.h +++ b/toxav/msi.h | |||
@@ -77,7 +77,7 @@ typedef struct _MSICall { /* Call info structure */ | |||
77 | int ringing_timer_id; /* Timer id for ringing timeout */ | 77 | int ringing_timer_id; /* Timer id for ringing timeout */ |
78 | 78 | ||
79 | 79 | ||
80 | pthread_mutex_t mutex; /* */ | 80 | pthread_mutex_t mutex[1]; /* */ |
81 | uint32_t *peers; | 81 | uint32_t *peers; |
82 | uint16_t peer_count; | 82 | uint16_t peer_count; |
83 | 83 | ||
@@ -104,7 +104,7 @@ typedef struct _MSISession { | |||
104 | uint32_t frequ; | 104 | uint32_t frequ; |
105 | uint32_t call_timeout; /* Time of the timeout for some action to end; 0 if infinite */ | 105 | uint32_t call_timeout; /* Time of the timeout for some action to end; 0 if infinite */ |
106 | 106 | ||
107 | pthread_mutex_t mutex; | 107 | pthread_mutex_t mutex[1]; |
108 | 108 | ||
109 | void *timer_handler; | 109 | void *timer_handler; |
110 | } MSISession; | 110 | } MSISession; |