ObjFW  Diff

Differences From Artifact [90c71645ee]:

To Artifact [85710dfb37]:


436
437
438
439
440
441
442




443
444
445
446
447
448
449
	(*type)++;
	(*length)--;

	return size;
}

static size_t




sizeOfEncoding(const char **type, size_t *length)
{
	size_t size;

	if (*length == 0)
		@throw [OFInvalidFormatException exception];








>
>
>
>







436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
	(*type)++;
	(*length)--;

	return size;
}

static size_t
#if defined(__clang__) && __clang_major__ == 3 && __clang_minor__ <= 7
/* Work around an ICE in Clang 3.7.0 on Windows/x86 */
__attribute__((__optnone__))
#endif
sizeOfEncoding(const char **type, size_t *length)
{
	size_t size;

	if (*length == 0)
		@throw [OFInvalidFormatException exception];