Ticket #254: remove-alignment-warning.patch
File remove-alignment-warning.patch, 1.0 KB (added by doughera, 13 years ago) |
---|
-
src/packfile.c
old new 1865 1865 TRACE_PRINTF_ALIGN(("-S ALIGN_16: offset=0x%x src=0x%x cursor=0x%x\n", 1866 1866 offs, self->pf->src, cursor)); 1867 1867 offs += PAD_16_B(offs); 1868 cursor = (const opcode_t *)((const char *)(self->pf->src) + offs);1868 cursor = self->pf->src + offs/sizeof(opcode_t); 1869 1869 TRACE_PRINTF_ALIGN(("+S ALIGN_16: offset=0x%x src=0x%x cursor=0x%x\n", 1870 1870 offs, self->pf->src, cursor)); 1871 1871 return cursor; … … 2057 2057 TRACE_PRINTF_ALIGN(("-ALIGN_16: offset=0x%x src=0x%x cursor=0x%x\n", 2058 2058 offs, pf->src, cursor)); 2059 2059 offs += PAD_16_B(offs); 2060 cursor = (const opcode_t *)((const char *)(pf->src) + offs);2060 cursor = pf->src + offs/sizeof(opcode_t); 2061 2061 TRACE_PRINTF_ALIGN(("+ALIGN_16: offset=0x%x src=0x%x cursor=0x%x\n", 2062 2062 offs, pf->src, cursor)); 2063 2063