Changeset add86dd in buchla-68k for rom/booter.c


Ignore:
Timestamp:
07/14/2017 02:32:11 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
4422c8e
Parents:
7d4cf30
Message:

Incompatible pointers, pointer-int conversions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rom/booter.c

    r7d4cf30 radd86dd  
    2424        B_chk;          /* checksum */
    2525
    26 int8_t  *B_buf_a;       /* boot load address */
     26int32_t B_buf_a;        /* boot load address */
    2727
    2828int16_t B_log_s;        /* boot log switch */
     
    122122        B_lod_l = B_fhdr.F_Text + B_fhdr.F_Data;
    123123
    124         if (0 NE flread(B_buf_a, B_lod_l, B_file)) {
     124        if (0 NE flread((void *)B_buf_a, B_lod_l, B_file)) {
    125125       
    126126#if     PRINTIT
     
    138138        B_bss_l = B_fhdr.F_BSS;
    139139
    140         cp    = B_buf_a;        /* calculate checksum */
     140        cp    = (int8_t *)B_buf_a;      /* calculate checksum */
    141141        B_chk = 0L;
    142142
Note: See TracChangeset for help on using the changeset viewer.