Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fwsetup-ng.git;a=commitdiff;h=ca254d7f54ebdccd0ac5a1c5f4996261c93e4eff
commit ca254d7f54ebdccd0ac5a1c5f4996261c93e4eff Author: James Buren <[email protected]> Date: Sun Aug 26 15:23:43 2012 -0500 adjust byte macros diff --git a/Utility.hh b/Utility.hh index 13540c0..0c88d59 100644 --- a/Utility.hh +++ b/Utility.hh @@ -4,10 +4,10 @@ #include <string> #include <fstream> -#define KIBIBYTE (2LLU << 9LLU) -#define MEBIBYTE (2LLU << 19LLU) -#define GIBIBYTE (2LLU << 29LLU) -#define TEBIBYTE (2LLU << 39LLU) +#define KIBIBYTE (1LLU << 10LLU) +#define MEBIBYTE (1LLU << 20LLU) +#define GIBIBYTE (1LLU << 30LLU) +#define TEBIBYTE (1LLU << 40LLU) using std::string; using std::ofstream; _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
