summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
fe6e119)
Now we actually pass on 32-bit...
Signed-off-by: Jens Axboe <axboe@kernel.dk>
#include "../lib/lfsr.h"
#include "../lib/axmap.h"
#include "../lib/lfsr.h"
#include "../lib/axmap.h"
-static int test_regular(size_t size, int seed)
+static int test_regular(uint64_t size, int seed)
{
struct fio_lfsr lfsr;
struct axmap *map;
{
struct fio_lfsr lfsr;
struct axmap *map;
-static int test_next_free(size_t size, int seed)
+static int test_next_free(uint64_t size, int seed)
{
struct fio_lfsr lfsr;
struct axmap *map;
{
struct fio_lfsr lfsr;
struct axmap *map;
uint64_t ff, lastfree;
int err, i;
uint64_t ff, lastfree;
int err, i;
-static int test_multi(size_t size, unsigned int bit_off)
+static int test_multi(uint64_t size, unsigned int bit_off)
{
unsigned int map_size = size;
struct axmap *map;
{
unsigned int map_size = size;
struct axmap *map;
int main(int argc, char *argv[])
{
int main(int argc, char *argv[])
{
- size_t size = (1UL << 23) - 200;
+ uint64_t size = (1ULL << 23) - 200;
int seed = 1;
if (argc > 1) {
int seed = 1;
if (argc > 1) {