I am just wandering, would : t32 = *(uint32_t*)((void *)&buffer[i]); quite the compiler ;)
BR, Drasko On Fri, Jul 8, 2011 at 1:14 PM, Drasko DRASKOVIC <drasko.drasko...@gmail.com> wrote: > On Fri, Jul 8, 2011 at 1:13 PM, Øyvind Harboe <oyvind.har...@zylin.com> wrote: >>> that casts void* buf to uint32_t*. >> >> Actually buffer is uint8_t *. The definition of target->type->read_memory is >> bad in that it uses uint8_t * instead of void *. Which is kinda the >> root of this mess. > > Well, this propagate through all the targets... > > BR, > Drasko > _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development