bruns added a comment.
Although s_magic **decays** to a char*, it **is not** a char*. char[n] is a type distinct from char* From e.g. man strlen char string[32] = "hello, world"; char *ptr = string; sizeof (string) ⇒ 32 sizeof (ptr) ⇒ 4 /* (on a machine with 4 byte pointers) */ REPOSITORY R287 KImageFormats REVISION DETAIL https://phabricator.kde.org/D20149 To: aacid, svuorela Cc: bruns, svuorela, apol, pino, kde-frameworks-devel, michaelh, ngraham