More cleanup, Linux build fixes.

This commit is contained in:
Adam Ierymenko 2017-07-07 06:50:40 -07:00
parent f23a43fb81
commit 6fc70f7c16
7 changed files with 59 additions and 324 deletions

View file

@ -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<r;++x)
value[q][x] = ("0123456789\0\t\r\n= ")[rand() % 16];