Skip to content
Snippets Groups Projects
Commit 0c05a9e9 authored by deuce's avatar deuce
Browse files

Fix the error:

../uifc/ciowrap.h:34: error: nonnull argument references non-pointer operand (arg 1, operand 1)

By macroing cio_conwrap as conwrap...
parent ade5be2b
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@ int puttext(int sx, int sy, int ex, int ey, unsigned char *fill)
return(1);
}
int gettext(int sx, int sy, int ex, int ey, unsigned char *fill)
int cio_gettext(int sx, int sy, int ex, int ey, unsigned char *fill)
{
int x,y;
int fillpos=0;
......
......@@ -31,7 +31,8 @@ struct text_info {
short curses_color(short color);
int puttext(int sx, int sy, int ex, int ey, unsigned char *fill);
int gettext(int sx, int sy, int ex, int ey, unsigned char *fill);
#define gettext(x1,y1,x2,y2,z) cio_gettext(x1,y1,x2,y2,z)
int cio_gettext(int sx, int sy, int ex, int ey, unsigned char *fill);
void textattr(unsigned char attr);
int kbhit(void);
#ifndef __QNX__
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment