diff options
| author | Adam Ierymenko <[email protected]> | 2017-06-27 11:31:29 -0700 |
|---|---|---|
| committer | Adam Ierymenko <[email protected]> | 2017-06-27 11:31:29 -0700 |
| commit | 355cce3938a815feba1085569263ae0225cebfa6 (patch) | |
| tree | d45f8bf01f9194e4f2e54e615ac4f1c740f344e7 /selftest.cpp | |
| parent | 02d18af57d7d05d26e44ff2015f5bcf55ebce7a2 (diff) | |
Rename Utils::snprintf due to it being a #define on one platform.
Diffstat (limited to 'selftest.cpp')
| -rw-r--r-- | selftest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest.cpp b/selftest.cpp index 8175d708..ff171aa3 100644 --- a/selftest.cpp +++ b/selftest.cpp @@ -831,7 +831,7 @@ static int testOther() memset(key, 0, sizeof(key)); memset(value, 0, sizeof(value)); for(unsigned int q=0;q<32;++q) { - Utils::snprintf(key[q],16,"%.8lx",(unsigned long)(rand() % 1000) + (q * 1000)); + Utils::ztsnprintf(key[q],16,"%.8lx",(unsigned long)(rand() % 1000) + (q * 1000)); int r = rand() % 128; for(int x=0;x<r;++x) value[q][x] = ("0123456789\0\t\r\n= ")[rand() % 16]; |
