Fixes to get things compiling on OSX again.

This commit is contained in:
Ben Vanik
2013-01-30 11:03:19 -08:00
parent 1585730ec1
commit 42009cda88
5 changed files with 23 additions and 17 deletions

View File

@@ -602,7 +602,7 @@ void FunctionGenerator::FillRegisters() {
}
// Note that we skip zero.
for (int n = 0; n < XECOUNT(locals_.gpr); n++) {
for (size_t n = 0; n < XECOUNT(locals_.gpr); n++) {
if (locals_.gpr[n]) {
b.CreateStore(LoadStateValue(
offsetof(xe_ppc_state_t, r) + 8 * n,

View File

@@ -22,7 +22,7 @@ namespace xbdm {
static KernelExport xbdm_export_table[] = {
0,
{ 0 },
};