From b15ad6ac61d3bd7813fea666d55f17fe53d5e1c4 Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Wed, 9 Sep 2009 19:25:53 +0000 Subject: [PATCH] Fixed warning in model.c git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@109 ddfedd41-794f-dd11-ae45-00112f111e67 --- tests/model.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/model.c b/tests/model.c index b7831df..9e5800e 100644 --- a/tests/model.c +++ b/tests/model.c @@ -41,11 +41,11 @@ void glk_main(void) glk_set_window(mainwin); glk_put_char_uni( glk_get_char_stream_uni(s) ); glk_put_char('\n'); - g_printerr( "Line read: %d\n", glk_get_line_stream_uni(s, buffer, 1024) ); - g_printerr("string[5] = %X\n", buffer[5]); + printf("Line read: %d\n", glk_get_line_stream_uni(s, buffer, 1024) ); + printf("string[5] = %X\n", buffer[5]); glk_put_string_uni(buffer); int count = glk_get_buffer_stream_uni(s, buffer, 1024); - g_printerr("Buffer read: %d\n", count); + printf("Buffer read: %d\n", count); glk_put_string("\n---SOME CHARACTERS---\n"); glk_put_buffer_uni(buffer, count); glk_put_string("\n---THE SAME CHARACTERS IN UPPERCASE---\n"); @@ -55,7 +55,7 @@ void glk_main(void) stream_result_t result; glk_stream_close(s, &result); - g_printerr("Read count: %d\nWrite count: %d\n", result.readcount, result.writecount); + fprintf(stderr, "Read count: %d\nWrite count: %d\n", result.readcount, result.writecount); /* glk_fileref_destroy(f); }*/ -- 2.30.2