mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-24 07:45:21 +00:00
Change return of get_input_fd() to unsigned long
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
|
||||
|
||||
#ifdef PDCDEBUG
|
||||
char *rcsid_PDCkbd = "$Id: pdckbd.c,v 1.3 2001/04/22 05:53:45 mark Exp $";
|
||||
char *rcsid_PDCkbd = "$Id: pdckbd.c,v 1.4 2002/09/01 08:13:29 mark Exp $";
|
||||
#endif
|
||||
|
||||
/*******************************************************************************
|
||||
@@ -210,9 +210,9 @@ extern int c_ungind; /* wungetch() push index */
|
||||
|
||||
/***********************************************************************/
|
||||
#ifdef HAVE_PROTO
|
||||
int PDC_get_input_fd(void)
|
||||
unsigned long PDC_get_input_fd(void)
|
||||
#else
|
||||
int PDC_get_input_fd()
|
||||
unsigned long PDC_get_input_fd()
|
||||
#endif
|
||||
/***********************************************************************/
|
||||
{
|
||||
@@ -221,7 +221,7 @@ int PDC_get_input_fd()
|
||||
if (trace_on) PDC_debug("PDC_get_input_fd() - called\n");
|
||||
#endif
|
||||
|
||||
return fileno (stdin);
|
||||
return (unsigned long)fileno (stdin);
|
||||
}
|
||||
|
||||
/*man-start*********************************************************************
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef PDCDEBUG
|
||||
char *rcsid_PDCkbd = "$Id: pdckbd.c,v 1.4 2002/01/12 04:04:18 mark Exp $";
|
||||
char *rcsid_PDCkbd = "$Id: pdckbd.c,v 1.5 2002/09/01 08:13:48 mark Exp $";
|
||||
#endif
|
||||
|
||||
/*******************************************************************************
|
||||
@@ -203,13 +203,13 @@ extern int c_ungind; /* wungetch() push index */
|
||||
**man-end**********************************************************************/
|
||||
|
||||
/***********************************************************************/
|
||||
int PDC_get_input_fd(void)
|
||||
unsigned long PDC_get_input_fd(void)
|
||||
/***********************************************************************/
|
||||
{
|
||||
#ifdef PDCDEBUG
|
||||
if (trace_on) PDC_debug("PDC_get_input_fd() - called\n");
|
||||
#endif
|
||||
return fileno(stdin);
|
||||
return (unsigned long)fileno(stdin);
|
||||
}
|
||||
|
||||
#ifndef EMXVIDEO
|
||||
|
||||
Reference in New Issue
Block a user