[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[virt-tools-list] [libosinfo] Hard-code GIBIBYTES definition



From: "Zeeshan Ali (Khattak)" <zeeshanak gnome org>

GIR scanner doesn't like it and its not like this value is going to
ever change anyways.
---
 osinfo/osinfo_resources.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/osinfo/osinfo_resources.h b/osinfo/osinfo_resources.h
index fadbee2..cf2571d 100644
--- a/osinfo/osinfo_resources.h
+++ b/osinfo/osinfo_resources.h
@@ -33,7 +33,7 @@
 #define OSINFO_ARCHITECTURE_ALL "all"
 #define OSINFO_MEGAHERTZ        1000000
 #define OSINFO_MEBIBYTES        1048576
-#define OSINFO_GIBIBYTES        1024 * OSINFO_MEBIBYTES
+#define OSINFO_GIBIBYTES        1073741824
 
 /*
  * Type macros.
-- 
1.7.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]