mirror of
https://github.com/depp/syncfiles.git
synced 2024-06-14 11:29:28 +00:00
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;
|
||||
cr.data = NULL;
|
||||
|
||||
SetTestNamef(name);
|
||||
SetTestName(name);
|
||||
|
||||
/* Load the converter into memory and build the conversion table. */
|
||||
datap = (void *)data.ptr;
|
||||
|
|
|
@ -41,7 +41,7 @@ static void Test32(void)
|
|||
{
|
||||
union {
|
||||
UInt32 i;
|
||||
UInt8 b[2];
|
||||
UInt8 b[4];
|
||||
} u;
|
||||
UInt32 be;
|
||||
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
// Copyright 2022 Dietrich Epp.
|
||||
// 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.
|
||||
/* Defined to get vsnprintf. */
|
||||
#define _XOPEN_SOURCE 500
|
||||
|
||||
#include "lib/test.h"
|
||||
#include "lib/util.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user