]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix compilation warning on FreeBSD
authorEric Bollengier <eric@eb.homelinux.org>
Sat, 3 Dec 2011 17:04:54 +0000 (18:04 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:50:18 +0000 (14:50 +0200)
bacula/src/lib/tree.c

index fda5b0a72ca5d5a84cd31d4e1eaccdb4cfd82db7..4d6cac1d3c22e49859ebe45b100cb517e9b30bd0 100644 (file)
@@ -36,9 +36,9 @@
 #include "bacula.h"
 #include "findlib/find.h"
 
-#define PAGE_SIZE 4096
+#define B_PAGE_SIZE 4096
 #define MAX_PAGES 2400
-#define MAX_BUF_SIZE (MAX_PAGES * PAGE_SIZE)  /* approx 10MB */
+#define MAX_BUF_SIZE (MAX_PAGES * B_PAGE_SIZE)  /* approx 10MB */
 
 /* Forward referenced subroutines */
 static TREE_NODE *search_and_insert_tree_node(char *fname, int type,