X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=test%2Flinedata.h;h=2510ee72f646ece49d43941b9b85710c3c35cb32;hb=5ae2721913c0d2adde0d65063e37a723bf8a0987;hp=b289c44f23f1426324e1135da4bbb91227b96cf2;hpb=3511767aa77f332927de0c4a610f9fb37ea18101;p=ncurses.git diff --git a/test/linedata.h b/test/linedata.h index b289c44f..2510ee72 100644 --- a/test/linedata.h +++ b/test/linedata.h @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 2009 Free Software Foundation, Inc. * + * Copyright (c) 2009,2010 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -86,7 +86,7 @@ read_linedata(WINDOW *work) continue; } } else if (code != ERR) { - result = ch; + result = (int) ch; break; } else { break;