FreeCalypso > hg > freecalypso-tools
comparison target-utils/libload/cmd_memload.c @ 99:9214118ae941
target-utils: use of bcopy() changed to memcpy()
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 01 Nov 2016 00:05:31 +0000 |
parents | e7502631a0f9 |
children |
comparison
equal
deleted
inserted
replaced
98:5aff772ff84d | 99:9214118ae941 |
---|---|
46 len -= 5; | 46 len -= 5; |
47 addr = ((u32)srecbin[1] << 24) | | 47 addr = ((u32)srecbin[1] << 24) | |
48 ((u32)srecbin[2] << 16) | | 48 ((u32)srecbin[2] << 16) | |
49 ((u32)srecbin[3] << 8) | | 49 ((u32)srecbin[3] << 8) | |
50 (u32)srecbin[4]; | 50 (u32)srecbin[4]; |
51 bcopy(srecbin + 5, addr, len); | 51 memcpy(addr, srecbin + 5, len); |
52 } | 52 } |