From: Toni Wilen Date: Wed, 29 Sep 2021 17:58:39 +0000 (+0300) Subject: uae_s32/uae_u32 type change update X-Git-Tag: 4900~59 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=ea0fea7cbdfb14ceaddf537311f85c3660028305;p=francis%2Fwinuae.git uae_s32/uae_u32 type change update --- diff --git a/custom.cpp b/custom.cpp index 62a15272..dd477eac 100644 --- a/custom.cpp +++ b/custom.cpp @@ -13427,7 +13427,7 @@ void do_cycles_ce(uae_u32 cycles) void do_cycles_ce020(uae_u32 cycles) { - unsigned long c; + uae_u32 c; int extra; if (!cycles) { diff --git a/newcpu.cpp b/newcpu.cpp index 36280322..1a378d51 100644 --- a/newcpu.cpp +++ b/newcpu.cpp @@ -421,7 +421,7 @@ static bool check_trace (void) x_do_cycles_pre = x2_do_cycles_pre; x_do_cycles_post = x2_do_cycles_post; set_x_cp_funcs(); - write_log (_T("CPU tracer playback complete. STARTCYCLES=%08x NOWCYCLES=%08lx\n"), cputrace.startcycles, get_cycles ()); + write_log(_T("CPU tracer playback complete. STARTCYCLES=%08x NOWCYCLES=%08x\n"), cputrace.startcycles, get_cycles()); cputrace.needendcycles = 1; cpu_tracer = 0; return true; @@ -4858,7 +4858,7 @@ static void m68k_run_1_ce (void) cont: if (cputrace.needendcycles) { cputrace.needendcycles = 0; - write_log (_T("STARTCYCLES=%08x ENDCYCLES=%08lx\n"), cputrace.startcycles, get_cycles ()); + write_log(_T("STARTCYCLES=%08x ENDCYCLES=%08x\n"), cputrace.startcycles, get_cycles()); log_dma_record (); }