Fix buffer overflow in parser
[xboard.git] / winboard / wevalgraph.c
index e438916..5a6ca62 100644 (file)
@@ -58,7 +58,7 @@ Boolean EvalGraphIsUp()
 }\r
 \r
 // [HGM] front-end, added as wrapper to avoid use of LineTo and MoveToEx in other routines (so they can be back-end) \r
-void DrawSegment( int x, int y, int *lastX, int *lastY, enum PEN penType )\r
+void DrawSegment( int x, int y, int *lastX, int *lastY, int penType )\r
 {\r
     POINT stPt;\r
     if(penType == PEN_NONE) MoveToEx( hdcPB, x, y, &stPt ); else {\r