aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src/dgn3500sum.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/firmware-utils/src/dgn3500sum.c')
-rw-r--r--tools/firmware-utils/src/dgn3500sum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/dgn3500sum.c b/tools/firmware-utils/src/dgn3500sum.c
index eb80e6c01b..e86621bc1f 100644
--- a/tools/firmware-utils/src/dgn3500sum.c
+++ b/tools/firmware-utils/src/dgn3500sum.c
@@ -104,7 +104,7 @@ int main(int argc, char** argv)
char *endptr, *buffer, *p;
int count; // size of file in bytes
unsigned short sum = 0, sum1 = 0;
- char sumbuf[9];
+ char sumbuf[8 + 8 + 1];
if(argc < 3) {
printf("ERROR: Argument missing!\n\nUsage %s filename starting offset in hex [PID code]\n\n", argv[0]);