summaryrefslogtreecommitdiffstats
path: root/lib/libstand/tftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libstand/tftp.c')
-rw-r--r--lib/libstand/tftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstand/tftp.c b/lib/libstand/tftp.c
index 3a6630c..0cbfa52 100644
--- a/lib/libstand/tftp.c
+++ b/lib/libstand/tftp.c
@@ -340,7 +340,7 @@ tftp_read(f, addr, size, resid)
bcopy(tftpfile->lastdata.t.th_data + offinblock,
addr, count);
- addr += count;
+ addr = (char *)addr + count;
tftpfile->off += count;
size -= count;
OpenPOWER on IntegriCloud