Make compilers happy, remove warnings...

unsigned/signed comparaison in miscfileformat.c
unused argument in readline.c
This commit is contained in:
Thomas Bernard 2018-03-02 00:28:11 +01:00
parent b98b743d21
commit f32eacaa01
2 changed files with 4 additions and 2 deletions

View File

@ -3436,9 +3436,9 @@ void Test_PPH(T_IO_Context * context)
{ {
FILE *file; FILE *file;
byte buffer[6]; byte buffer[6];
long file_size; unsigned long file_size;
unsigned int w, h; unsigned int w, h;
int expected; unsigned int expected;
File_error = 1; File_error = 1;

View File

@ -405,6 +405,8 @@ bye:
return haiku_get_clipboard(); return haiku_get_clipboard();
#else #else
// Not implemented (no standard) on Linux systems. Maybe someday... // Not implemented (no standard) on Linux systems. Maybe someday...
if (unicode)
*unicode = NULL;
return NULL; return NULL;
#endif #endif
} }