Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
fenrus75 committed Jan 31, 2020
1 parent 562c44d commit b1ee589
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion toolpath/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ la_test: Makefile la_test.o linalg.o
gcc la_test.o linalg.o -lm -o la_test

clean:
rm -f *.o *~ DEADJOE toolpath
rm -f *.o *.wo *.fo *~ DEADJOE toolpath toolpath.exe toolpath-fine
2 changes: 1 addition & 1 deletion toolpath/gcode.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ void set_retract_height_metric(double _rh_mm)
static int iter = 0;
void write_gcode_header(const char *filename)
{
char actual_filename[8192];
char actual_filename[8392];
if (strlen(stored_filename) == 0) {
char *c;
strncpy(stored_filename, filename,8000);
Expand Down

0 comments on commit b1ee589

Please sign in to comment.