Revision 2daf0284 linux-user/main.c

b/linux-user/main.c
779 779

  
780 780
    sp_ptr = env->regbase[get_reg_index(env, cwp1, 6)];
781 781
#if defined(DEBUG_WIN)
782
    printf("win_overflow: sp_ptr=0x%x save_cwp=%d\n",
783
           (int)sp_ptr, cwp1);
782
    printf("win_overflow: sp_ptr=0x" TARGET_ABI_FMT_lx " save_cwp=%d\n",
783
           sp_ptr, cwp1);
784 784
#endif
785 785
    for(i = 0; i < 16; i++) {
786 786
        /* FIXME - what to do if put_user() fails? */
......
816 816
    cwp1 = cpu_cwp_inc(env, env->cwp + 1);
817 817
    sp_ptr = env->regbase[get_reg_index(env, cwp1, 6)];
818 818
#if defined(DEBUG_WIN)
819
    printf("win_underflow: sp_ptr=0x%x load_cwp=%d\n",
820
           (int)sp_ptr, cwp1);
819
    printf("win_underflow: sp_ptr=0x" TARGET_ABI_FMT_lx " load_cwp=%d\n",
820
           sp_ptr, cwp1);
821 821
#endif
822 822
    for(i = 0; i < 16; i++) {
823 823
        /* FIXME - what to do if get_user() fails? */

Also available in: Unified diff