- Timestamp:
- 11/12/2017 05:38:55 PM (7 years ago)
- Branches:
- master
- Children:
- 018d7ba
- Parents:
- 2a87ef3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/sqscan.c
r2a87ef3 r66072f0 99 99 { 100 100 nsp->e_time = t_cur; 101 nsp->e_type = nt;102 nsp->e_note = note;103 nsp->e_group = grp;101 nsp->e_type = (int8_t)nt; 102 nsp->e_note = (int8_t)note; 103 nsp->e_group = (int8_t)grp; 104 104 nsp->e_vel = vel; 105 105 … … 131 131 CM_NOGO; 132 132 133 curgrp = QQnum;133 curgrp = (int16_t)QQnum; 134 134 135 135 if (verbose) … … 155 155 tsp1->e_time = t_cur; 156 156 tsp1->e_type = EV_GRP; 157 tsp1->e_data1 = curgrp;157 tsp1->e_data1 = (int8_t)curgrp; 158 158 tsp1->e_data2 = GS_ENBL; 159 159 … … 176 176 tsp1->e_time = t_cur; 177 177 tsp1->e_type = EV_GRP; 178 tsp1->e_data1 = curgrp;178 tsp1->e_data1 = (int8_t)curgrp; 179 179 tsp1->e_data2 = GS_DSBL; 180 180 … … 200 200 CM_NOGO; 201 201 202 aux1 = QQnum;202 aux1 = (int16_t)QQnum; 203 203 204 204 if (E_NULL EQ (tsp1 = e_alc(E_SIZE2))) { … … 210 210 tsp1->e_time = t_cur; 211 211 tsp1->e_type = EV_TMPO; 212 tsp1->e_data1 = aux1;212 tsp1->e_data1 = (int8_t)aux1; 213 213 214 214 p_cur = e_ins(tsp1, ep_adj(p_cur, 0, t_cur))->e_fwd; … … 228 228 CM_NOGO; 229 229 230 aux1 = QQnum;230 aux1 = (int16_t)QQnum; 231 231 232 232 if (E_NULL EQ (tsp1 = e_alc(E_SIZE2))) { … … 238 238 tsp1->e_time = t_cur; 239 239 tsp1->e_type = EV_INST; 240 tsp1->e_data1 = curgrp;241 tsp1->e_data2 = aux1;240 tsp1->e_data1 = (int8_t)curgrp; 241 tsp1->e_data2 = (int8_t)aux1; 242 242 243 243 p_cur = e_ins(tsp1, ep_adj(p_cur, 0, t_cur))->e_fwd; … … 258 258 CM_NOGO; 259 259 260 aux1 = QQnum;260 aux1 = (int16_t)QQnum; 261 261 262 262 if (E_NULL EQ (tsp1 = e_alc(E_SIZE2))) { … … 268 268 tsp1->e_time = t_cur; 269 269 tsp1->e_type = EV_TUNE; 270 tsp1->e_data1 = aux1;270 tsp1->e_data1 = (int8_t)aux1; 271 271 272 272 p_cur = e_ins(tsp1, ep_adj(p_cur, 0, t_cur))->e_fwd; … … 293 293 CM_NOGO; 294 294 295 aux1 = QQnum;295 aux1 = (int16_t)QQnum; 296 296 297 297 if (QQchr EQ '-') … … 306 306 tsp1->e_time = t_cur; 307 307 tsp1->e_type = EV_TRNS; 308 tsp1->e_data1 = curgrp;308 tsp1->e_data1 = (int8_t)curgrp; 309 309 tsp1->e_lft = (struct s_entry *)aux1; 310 310 … … 326 326 CM_NOGO; 327 327 328 aux1 = QQnum;328 aux1 = (int16_t)QQnum; 329 329 330 330 if (E_NULL EQ (tsp1 = e_alc(E_SIZE2))) { … … 336 336 tsp1->e_time = t_cur; 337 337 tsp1->e_type = EV_DYN; 338 tsp1->e_data1 = curgrp;339 tsp1->e_data2 = aux1;338 tsp1->e_data1 = (int8_t)curgrp; 339 tsp1->e_data2 = (int8_t)aux1; 340 340 341 341 p_cur = e_ins(tsp1, ep_adj(p_cur, 0, t_cur))->e_fwd; … … 355 355 CM_NOGO; 356 356 357 aux1 = QQnum;357 aux1 = (int16_t)QQnum; 358 358 359 359 if (E_NULL EQ (tsp1 = e_alc(E_SIZE2))) { … … 365 365 tsp1->e_time = t_cur; 366 366 tsp1->e_type = EV_LOCN; 367 tsp1->e_data1 = curgrp;368 tsp1->e_data2 = aux1;367 tsp1->e_data1 = (int8_t)curgrp; 368 tsp1->e_data2 = (int8_t)aux1; 369 369 370 370 p_cur = e_ins(tsp1, ep_adj(p_cur, 0, t_cur))->e_fwd; … … 467 467 CM_NOGO; 468 468 469 thescore = QQnum;469 thescore = (int16_t)QQnum; 470 470 471 471 selscor(thescore); … … 529 529 if (CM_NUM) { 530 530 531 aux1 = QQnum;531 aux1 = (int16_t)QQnum; 532 532 sc_clr(aux1); 533 533
Note:
See TracChangeset
for help on using the changeset viewer.