1
0
forked from boostorg/move

Remove warnings due to size_t -> unsigned conversions

This commit is contained in:
Ion Gaztañaga
2016-02-24 23:25:56 +01:00
parent d247eea058
commit 499c5932bf
2 changed files with 2 additions and 2 deletions

View File

@@ -230,7 +230,7 @@ bool measure_all(std::size_t L, std::size_t NK)
boost::movelib::unique_ptr<std::size_t[]> pkeys(new std::size_t[NK ? NK : L]); boost::movelib::unique_ptr<std::size_t[]> pkeys(new std::size_t[NK ? NK : L]);
T *A = pdata.get(); T *A = pdata.get();
std::size_t *Keys = pkeys.get(); std::size_t *Keys = pkeys.get();
std::printf("\n - - N: %u, NK: %u - -\n",L,NK); std::printf("\n - - N: %u, NK: %u - -\n", (unsigned)L, (unsigned)NK);
nanosecond_type prev_clock = 0; nanosecond_type prev_clock = 0;
nanosecond_type back_clock; nanosecond_type back_clock;

View File

@@ -251,7 +251,7 @@ bool measure_all(std::size_t L, std::size_t NK)
boost::movelib::unique_ptr<std::size_t[]> pkeys(new std::size_t[NK ? NK : L]); boost::movelib::unique_ptr<std::size_t[]> pkeys(new std::size_t[NK ? NK : L]);
T *A = pdata.get(); T *A = pdata.get();
std::size_t *Keys = pkeys.get(); std::size_t *Keys = pkeys.get();
std::printf("\n - - N: %u, NK: %u - -\n",L,NK); std::printf("\n - - N: %u, NK: %u - -\n", (unsigned)L, (unsigned)NK);
nanosecond_type prev_clock = 0; nanosecond_type prev_clock = 0;
nanosecond_type back_clock; nanosecond_type back_clock;