diff --git a/GleeBug/GleeBug.vcxproj b/GleeBug/GleeBug.vcxproj
index c46c4e6..d07264f 100644
--- a/GleeBug/GleeBug.vcxproj
+++ b/GleeBug/GleeBug.vcxproj
@@ -26,26 +26,26 @@
StaticLibrary
true
- v120
+ v120_xp
MultiByte
StaticLibrary
true
- v120
+ v120_xp
MultiByte
StaticLibrary
false
- v120
+ v120_xp
true
MultiByte
StaticLibrary
false
- v120
+ v120_xp
true
MultiByte
diff --git a/TitanEngineEmulator/Emulator.h b/TitanEngineEmulator/Emulator.h
index 8ec88e5..5881ed4 100644
--- a/TitanEngineEmulator/Emulator.h
+++ b/TitanEngineEmulator/Emulator.h
@@ -285,7 +285,7 @@ public:
thread->registers.R15 = titcontext->r15;
#endif //_WIN64
thread->registers.Gip = titcontext->cip;
- thread->registers.Eflags = titcontext->eflags;
+ thread->registers.Eflags = uint32(titcontext->eflags);
thread->registers.Dr0 = titcontext->dr0;
thread->registers.Dr1 = titcontext->dr1;
thread->registers.Dr2 = titcontext->dr2;