~exec64/freekdl

d257c4a73ef045a7a000a1e58a71a4602db70473 — Harry Jeffery 10 months ago ee4e69d
Remove use of min() macro in tests
1 files changed, 1 insertions(+), 1 deletions(-)

M test.c
M test.c => test.c +1 -1
@@ 32,7 32,7 @@ int checkUtf8Write(uint32_t input, const char *expected, size_t expectedSize)
    printf("checkUtf8 for 0x%x returned false.\n", input);
    return 0;
  }
  if (memcmp(buf, expected, min(expectedSize, size))) {
  if (memcmp(buf, expected, expectedSize < size ? expectedSize : size)) {
    printf("checkUtf8 for 0x%x failed. value=0x%hhx 0x%hhx 0x%hhx 0x%hhx != expected=0x%hhx 0x%hhx 0x%hhx 0x%hhx\n",
      input,
      size >= 1 ? buf[0] : 0,