Changeset 72741f4 in buchla-68k for ram/sqscan.c
- Timestamp:
- 11/15/2017 07:28:55 PM (6 years ago)
- Branches:
- master
- Children:
- 00c31a2
- Parents:
- 7c5def4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/sqscan.c
r7c5def4 r72741f4 63 63 } 64 64 65 cval = spool;65 cval = (struct s_entry *)spool; 66 66 67 67 if (ptr LT cval) { … … 75 75 } 76 76 77 cval = &spool[(int32_t)MAX_SE-1];77 cval = (struct s_entry *)&spool[(int32_t)MAX_SE-1]; 78 78 79 79 if (ptr GT cval) { … … 104 104 nsp->e_vel = vel; 105 105 106 return(e_ins((struct s_entry *)nsp, ep_adj(p_cur, 0, t_cur))->e_fwd); 106 return((struct n_entry *) 107 e_ins((struct s_entry *)nsp, ep_adj(p_cur, 0, t_cur))->e_fwd); 107 108 } 108 109 … … 704 705 while (tsp2) { 705 706 706 tsp3 = &spool[0];707 tsp3 = (struct s_entry *)&spool[0]; 707 708 708 709 if (tsp2 LT tsp3) { … … 715 716 } 716 717 717 tsp3 = &spool[MAX_SE-1];718 tsp3 = (struct s_entry *)&spool[MAX_SE-1]; 718 719 719 720 if (tsp2 GT tsp3) { … … 840 841 841 842 noteon = t_cur; 842 p_cur = insnevt(nsp1, EV_NBEG, curgrp, notenum, 64);843 p_cur = (struct s_entry *)insnevt(nsp1, EV_NBEG, curgrp, notenum, 64); 843 844 844 845 if (verbose) … … 857 858 858 859 noteoff = t_cur; 859 p_cur = insnevt(nsp1, EV_NEND, curgrp, notenum, 64);860 p_cur = (struct s_entry *)insnevt(nsp1, EV_NEND, curgrp, notenum, 64); 860 861 861 862 if (verbose) … … 882 883 } 883 884 884 p_cur = insnevt(nsp1, EV_NBEG, curgrp, notenum, 64);885 p_cur = (struct s_entry *)insnevt(nsp1, EV_NBEG, curgrp, notenum, 64); 885 886 886 887 if (E_NULL EQ (nsp1 = (struct n_entry *)e_alc(E_SIZE1))) { … … 915 916 } 916 917 917 p_cur = insnevt(nsp1, EV_NBEG, curgrp, notenum, 64);918 p_cur = (struct s_entry *)insnevt(nsp1, EV_NBEG, curgrp, notenum, 64); 918 919 919 920 if (E_NULL EQ (nsp1 = (struct n_entry *)e_alc(E_SIZE1))) {
Note:
See TracChangeset
for help on using the changeset viewer.