diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:37:56 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:37:56 +0000 |
commit | 5e98c71436569d39ac9fe0fb66910f28c0e531f8 (patch) | |
tree | bc4a93619d9b8aa36e5ea3694f643e9f5b5c8fda /src/target/image.c | |
parent | 0ab650293add8da2f4d58fd90c17d452312a8a9d (diff) |
- Fixes '-=' whitespace
- Replace '\(\w\)\(-=\)(' with '\1 \2 ('.
- Replace '\(\w\)\(-=\)\(\w\)' with '\1 \2 \3'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2362 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/image.c')
-rw-r--r-- | src/target/image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/image.c b/src/target/image.c index 286a2213..d6042e46 100644 --- a/src/target/image.c +++ b/src/target/image.c @@ -1022,7 +1022,7 @@ int image_calculate_checksum(uint8_t* buffer, uint32_t nbytes, uint32_t* checksu { run=32768; } - nbytes-=run; + nbytes -= run; while (run--) { /* as per gdb */ |