Garst R. Reese wrote:
Beware, mmc.c:39: warning: operation on `ptr' may be undefined is emmitted with the following code. int32_t sum, ptr; sum += bswap_32(*ptr++);
well you never init ptr, thus the warning. add: ptr = 0; or most likely something other than zero...and without "sum = 0" at the beginning you'll probably never be happy with the result ;-)
note: local vars are not initialized, unlike globals. you have to explictly assign a value.
chris
