From 910dae70fa8bb1970dd75ac5d9fbffc424835dba Mon Sep 17 00:00:00 2001 From: Daniel Mohns Date: Tue, 5 Mar 2024 14:48:04 +0100 Subject: [PATCH] Enable cross-platform check to pass Looks like `uint64_t` behaves different on apple vs linux --- examples/neutral_example_implentation/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/neutral_example_implentation/main.c b/examples/neutral_example_implentation/main.c index ec2d3f7..7539f26 100644 --- a/examples/neutral_example_implentation/main.c +++ b/examples/neutral_example_implentation/main.c @@ -60,7 +60,7 @@ int main(int argc, const char * argv[]) { Output = GetDataFromToken(InputToken, &TokenCount, &UsedTokens, StartingCode, SECRET_KEY); #ifdef DEBUG - printf("\n(Token entered: %llu)", InputToken); + printf("\n(Token entered: %llu)", (unsigned long long)InputToken); printf("\n(Activation Value from Token: %d)", Output.Value); // Activation Value found in the token printf("\n(Count: %d)", Output.Count); // Count found in the token printf("\n(Max Count: %d)", TokenCount); // Count found in the token