From 4f860d66db128756f6092653a5ed025167236d9f Mon Sep 17 00:00:00 2001 From: ciccio87 Date: Sat, 17 Aug 2013 08:13:01 +0200 Subject: [PATCH] fixed blacklist.c --- lib/blacklist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/blacklist.c b/lib/blacklist.c index 2b8a70e..49eaa32 100644 --- a/lib/blacklist.c +++ b/lib/blacklist.c @@ -124,6 +124,6 @@ int blacklist_init_from_files(char *whitelist_filename, char *blacklist_filename constraint_optimize(constraint); uint64_t allowed = blacklist_count_allowed(); log_debug("blacklist", "%lu addresses allowed to be scanned (%0.0f%% of address space)", - allowed, allowed*100./(1L << (int)sizeof(long)*4)); + allowed, allowed*100./((long long int)1 << 32)); return 0; }