Changeset 5399628 in buchla-68k


Ignore:
Timestamp:
11/15/2017 08:25:35 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
3aa6a26
Parents:
0b23063
Message:

Fixed pointer-integer conversions.

Location:
ram
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ram/scwrite.c

    r0b23063 r5399628  
    125125
    126126                        sc += ep->e_type + ep->e_time + ep->e_data1
    127                               + (int16_t)ep->e_lft;
     127                              + (int16_t)(int32_t)ep->e_lft;
    128128
    129129                        break;
  • ram/sqscan.c

    r0b23063 r5399628  
    308308                tsp1->e_type  = EV_TRNS;
    309309                tsp1->e_data1 = (int8_t)curgrp;
    310                 tsp1->e_lft = (struct s_entry *)aux1;
     310                tsp1->e_lft = (struct s_entry *)(int32_t)aux1;
    311311
    312312                p_cur = e_ins(tsp1, ep_adj(p_cur, 0, t_cur))->e_fwd;
Note: See TracChangeset for help on using the changeset viewer.