From: H.G. Muller Date: Sun, 21 Oct 2012 09:24:18 +0000 (+0200) Subject: Fix WinBoard compile errors X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=cb4cfa8ca5e717cb2c3d14988b6fc05e31bc1837;p=xboard.git Fix WinBoard compile errors --- diff --git a/frontend.h b/frontend.h index e2b7b60..56fed20 100644 --- a/frontend.h +++ b/frontend.h @@ -184,6 +184,7 @@ extern char *homeDir; /* these are in wgamelist.c */ void GameListPopUp P((FILE *fp, char *filename)); +void GameListPopDown P((void)); void GameListHighlight P((int index)); void GameListDestroy P((void)); diff --git a/winboard/wevalgraph.c b/winboard/wevalgraph.c index 5a6ca62..e438916 100644 --- a/winboard/wevalgraph.c +++ b/winboard/wevalgraph.c @@ -58,7 +58,7 @@ Boolean EvalGraphIsUp() } // [HGM] front-end, added as wrapper to avoid use of LineTo and MoveToEx in other routines (so they can be back-end) -void DrawSegment( int x, int y, int *lastX, int *lastY, int penType ) +void DrawSegment( int x, int y, int *lastX, int *lastY, enum PEN penType ) { POINT stPt; if(penType == PEN_NONE) MoveToEx( hdcPB, x, y, &stPt ); else {