From 6fc70f7c16da968a63e69798bbc73ada442cfd2a Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Fri, 7 Jul 2017 06:50:40 -0700 Subject: More cleanup, Linux build fixes. --- selftest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'selftest.cpp') diff --git a/selftest.cpp b/selftest.cpp index e6705700..882422bc 100644 --- a/selftest.cpp +++ b/selftest.cpp @@ -844,7 +844,7 @@ static int testOther() memset(key, 0, sizeof(key)); memset(value, 0, sizeof(value)); for(unsigned int q=0;q<32;++q) { - OSUtils::ztsnprintf(key[q],16,"%.8lx",(unsigned long)(rand() % 1000) + (q * 1000)); + Utils::hex((uint32_t)((rand() % 1000) + (q * 1000)),key[q]); int r = rand() % 128; for(int x=0;x