Changeset 08e103d4 in mainline for uspace/lib/trackmod/xm.c
- Timestamp:
- 2019-02-05T18:26:05Z (6 years ago)
- Children:
- 1d2f85e
- Parents:
- d066259
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-05 16:16:55)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-05 18:26:05)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/trackmod/xm.c
rd066259 r08e103d4 289 289 xm_smp_t smp; 290 290 size_t samples; 291 size_t instr_ size;291 size_t instr_bytes; 292 292 size_t smp_size; 293 293 size_t smp_hdr_size = 0; /* GCC false alarm on uninitialized */ … … 314 314 315 315 samples = uint16_t_le2host(instr.samples); 316 instr_ size= (size_t)uint32_t_le2host(instr.size);316 instr_bytes = (size_t)uint32_t_le2host(instr.size); 317 317 318 318 if (samples > 0) { … … 339 339 } 340 340 341 if (fseek(f, pos + instr_ size, SEEK_SET) < 0) {341 if (fseek(f, pos + instr_bytes, SEEK_SET) < 0) { 342 342 rc = EIO; 343 343 goto error;
Note:
See TracChangeset
for help on using the changeset viewer.