acd: fix char buffer argument to _acd_event_to_string_buf()

(cherry picked from commit 6e9967939b)
(cherry picked from commit 1e1ae9ba07)
(cherry picked from commit c0997fa4f3)
This commit is contained in:
Thomas Haller 2020-05-08 07:43:27 +02:00
parent 78618ccbaf
commit 53cb8ce245
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -95,7 +95,7 @@ _acd_event_to_string (unsigned int event)
#define ACD_EVENT_TO_STRING_BUF_SIZE 50
static const char *
_acd_event_to_string_buf (unsigned event, char buffer[ACD_EVENT_TO_STRING_BUF_SIZE])
_acd_event_to_string_buf (unsigned event, char buffer[static ACD_EVENT_TO_STRING_BUF_SIZE])
{
const char *s;