Fix compiler warnings on Xcode 11
This commit is contained in:
parent
6844e5a271
commit
054a4134e6
|
@ -110,7 +110,7 @@ static void TestConverter(const char *name, struct CharmapData data)
|
||||||
cf.data = NULL;
|
cf.data = NULL;
|
||||||
cr.data = NULL;
|
cr.data = NULL;
|
||||||
|
|
||||||
SetTestNamef(name);
|
SetTestName(name);
|
||||||
|
|
||||||
/* Load the converter into memory and build the conversion table. */
|
/* Load the converter into memory and build the conversion table. */
|
||||||
datap = (void *)data.ptr;
|
datap = (void *)data.ptr;
|
||||||
|
|
|
@ -41,7 +41,7 @@ static void Test32(void)
|
||||||
{
|
{
|
||||||
union {
|
union {
|
||||||
UInt32 i;
|
UInt32 i;
|
||||||
UInt8 b[2];
|
UInt8 b[4];
|
||||||
} u;
|
} u;
|
||||||
UInt32 be;
|
UInt32 be;
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
// Copyright 2022 Dietrich Epp.
|
// Copyright 2022 Dietrich Epp.
|
||||||
// This file is part of SyncFiles. SyncFiles is licensed under the terms of the
|
// This file is part of SyncFiles. SyncFiles is licensed under the terms of the
|
||||||
// Mozilla Public License, version 2.0. See LICENSE.txt for details.
|
// Mozilla Public License, version 2.0. See LICENSE.txt for details.
|
||||||
/* Defined to get vsnprintf. */
|
|
||||||
#define _XOPEN_SOURCE 500
|
|
||||||
|
|
||||||
#include "lib/test.h"
|
#include "lib/test.h"
|
||||||
#include "lib/util.h"
|
#include "lib/util.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue