summaryrefslogtreecommitdiffhomepage
path: root/Private/NewBoot/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Private/NewBoot/Source')
-rw-r--r--Private/NewBoot/Source/HEL/AMD64/BootTextWriter.cxx4
-rw-r--r--Private/NewBoot/Source/makefile2
2 files changed, 3 insertions, 3 deletions
diff --git a/Private/NewBoot/Source/HEL/AMD64/BootTextWriter.cxx b/Private/NewBoot/Source/HEL/AMD64/BootTextWriter.cxx
index ff30ff95..fc91a02a 100644
--- a/Private/NewBoot/Source/HEL/AMD64/BootTextWriter.cxx
+++ b/Private/NewBoot/Source/HEL/AMD64/BootTextWriter.cxx
@@ -75,8 +75,8 @@ BTextWriter &BTextWriter::Write(const Long &x) {
BTextWriter &BTextWriter::_Write(const Long &x) {
#ifdef __DEBUG__
- int y = x / 16;
- int h = x % 16;
+ UInt64 y = (x > 0 ? x : -x) / 16;
+ UInt64 h = (x > 0 ? x : -x) % 16;
if (y) this->_Write(y);
diff --git a/Private/NewBoot/Source/makefile b/Private/NewBoot/Source/makefile
index 4d8e1100..92128b02 100644
--- a/Private/NewBoot/Source/makefile
+++ b/Private/NewBoot/Source/makefile
@@ -70,7 +70,7 @@ run-efi-amd64:
.PHONY: epm-img
epm-img:
- qemu-img create -f qcow2 $(IMG) 1G
+ qemu-img create -f qcow2 $(IMG) 512M
qemu-img create -f qcow2 $(IMG_2) 512M
.PHONY: download-edk