• R/O
  • SSH
  • HTTPS

avrdude: Commit


Commit MetaInfo

Revision1457 (tree)
Time2020-01-19 03:15:20
Authorgottfried

Log Message

fixed pointer addition (void pointer can't be added!)

Change Summary

Incremental Difference

--- trunk/flip2.cpp (revision 1456)
+++ trunk/flip2.cpp (revision 1457)
@@ -612,7 +612,7 @@
612612 return -1;
613613 }
614614
615- ptr += read_size;
615+ ptr = (char*)ptr + read_size;
616616 addr += read_size;
617617 size -= read_size;
618618 }
@@ -675,7 +675,7 @@
675675 return -1;
676676 }
677677
678- ptr += write_size;
678+ ptr = (char*)ptr + write_size;
679679 addr += write_size;
680680 size -= write_size;
681681 }
Show on old repository browser