diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2022-10-28 04:00:00 +0200 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2022-10-29 11:57:20 +0200 |
commit | 8df721df25864f89772c58a4486314855bf1a37e (patch) | |
tree | 7c89253922a8f09b964876b438056e2655cc9062 /src/graph/viewman | |
parent | 467b6fb9eeb12d064c1f6fa4d7f87638e49685ca (diff) | |
download | open-axiom-8df721df25864f89772c58a4486314855bf1a37e.tar.gz |
Fix some compiler warnings & buffer overflows
Diffstat (limited to 'src/graph/viewman')
-rw-r--r-- | src/graph/viewman/fun2D.c | 2 | ||||
-rw-r--r-- | src/graph/viewman/fun3D.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/graph/viewman/fun2D.c b/src/graph/viewman/fun2D.c index af7724d9..17fedab5 100644 --- a/src/graph/viewman/fun2D.c +++ b/src/graph/viewman/fun2D.c @@ -183,7 +183,7 @@ forkView2D(void) int there; int pipe0[2], pipe1[2]; - char envAXIOM[100],runView[100]; + char envAXIOM[100], runView[200]; #ifdef DEBUG fprintf(stderr,"fun2D:Pipe calls for 2D\n"); diff --git a/src/graph/viewman/fun3D.c b/src/graph/viewman/fun3D.c index 35f79cc4..93645a29 100644 --- a/src/graph/viewman/fun3D.c +++ b/src/graph/viewman/fun3D.c @@ -235,7 +235,7 @@ forkView3D(int typeOfViewport) int pipe0[2],pipe1[2]; int *anIndex; - char envAXIOM[100],runView[100]; + char envAXIOM[100], runView[200]; int j,k; LLPoint *anLLPoint; LPoint *anLPoint; |