Skip to content

Commit

Permalink
ignore some warnings for now, but need to fix them later
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed Jul 19, 2023
1 parent 11a8fb5 commit debc09f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions toxcore/net_crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
#include "mono_time.h"
#include "util.h"

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-sign"

static const uint8_t NOISE_PROTOCOL_NAME[34] = "Noise_IK_25519_XChaChaPoly_SHA512";
typedef struct Packet_Data {
uint64_t sent_time;
Expand Down Expand Up @@ -4069,3 +4072,5 @@ void kill_net_crypto(Net_Crypto *c)
crypto_memzero(c, sizeof(Net_Crypto));
free(c);
}

#pragma GCC diagnostic pop

0 comments on commit debc09f

Please sign in to comment.