X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Fbase%2Flib_bkgd.c;h=2150279f060b76b5cb8ebc533bc24256811809c1;hp=ac0cbcb0ec0f1abcc92b6a29d53e7fa4b25b127a;hb=98d8891f42d8acac5c2ade39d163f386057a22e4;hpb=d1a026123ac051716cdc16278345c1fb5c843b79 diff --git a/ncurses/base/lib_bkgd.c b/ncurses/base/lib_bkgd.c index ac0cbcb0..2150279f 100644 --- a/ncurses/base/lib_bkgd.c +++ b/ncurses/base/lib_bkgd.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc. * + * Copyright (c) 1998-2011,2012 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 * @@ -36,7 +36,7 @@ #include -MODULE_ID("$Id: lib_bkgd.c,v 1.44 2011/05/28 20:44:22 tom Exp $") +MODULE_ID("$Id: lib_bkgd.c,v 1.45 2012/03/10 21:20:18 tom Exp $") /* * Set the window's background information. @@ -127,7 +127,7 @@ wbkgrnd(WINDOW *win, const ARG_CH_T ch) wgetbkgrnd(win, &old_bkgrnd); (void) wbkgrndset(win, CHREF(new_bkgd)); - (void) wattrset(win, AttrOf(win->_nc_bkgd)); + (void) wattrset(win, (int) AttrOf(win->_nc_bkgd)); for (y = 0; y <= win->_maxy; y++) { for (x = 0; x <= win->_maxx; x++) {