Skip to content
Snippets Groups Projects
Commit f27fcb92 authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Add missing const declaration.

parent 41e6aba6
No related branches found
No related tags found
No related merge requests found
......@@ -330,7 +330,7 @@ int str2uuid(const char *uuidstr, unsigned char *uuid);
static inline int
cdiUUIDIsNull(const unsigned char uuid[CDI_UUID_SIZE])
{
static unsigned char uuid_nil[CDI_UUID_SIZE];
static const unsigned char uuid_nil[CDI_UUID_SIZE];
return !memcmp(uuid, uuid_nil, CDI_UUID_SIZE);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment