Mercurial > hg > xemacs-beta
diff lwlib/xlwtabs.c @ 647:b39c14581166
[xemacs-hg @ 2001-08-13 04:45:47 by ben]
removal of unsigned, size_t, etc.
author | ben |
---|---|
date | Mon, 13 Aug 2001 04:46:48 +0000 |
parents | 3078fd1074e8 |
children | 04bc9d2f42c7 |
line wrap: on
line diff
--- a/lwlib/xlwtabs.c Wed Aug 08 12:15:04 2001 +0000 +++ b/lwlib/xlwtabs.c Mon Aug 13 04:46:48 2001 +0000 @@ -626,7 +626,7 @@ /* Tab size has changed. Resize all tabs and request a new size */ for(i=0, childP=tw->composite.children; - i < tw->composite.num_children; + i < (int) tw->composite.num_children; ++i, ++childP) if( XtIsManaged(*childP) ) TabWidth(*childP) ; @@ -667,7 +667,7 @@ XtVaSetValues(w, XmNtraversalOn, True, 0) ; #endif - if( tab->tabs.row != tw->tabs.numRows-1 ) + if( tab->tabs.row != (int) tw->tabs.numRows-1 ) TabsShuffleRows(tw) ; needRedraw = True ; @@ -1066,7 +1066,7 @@ * widget to be top of stacking order with XawTabsSetTop(). */ for(i=0, childP=tw->composite.children; - i < TabsNumChildren (tw); + i < (int) TabsNumChildren (tw); ++i, ++childP) if( TabVisible(*childP) ) { @@ -1392,7 +1392,7 @@ */ y = tw->tabs.numRows == 1 ? TABDELTA : 0 ; - for(i=0; i<tw->tabs.numRows; ++i, y += th) + for(i=0; i < (int) tw->tabs.numRows; ++i, y += th) { for( j=TabsNumChildren (tw), childP=tw->composite.children; --j >= 0; ++childP ) @@ -1402,7 +1402,7 @@ if( tab->tabs.row == i && *childP != tw->tabs.topWidget ) DrawTab(tw, *childP, labels) ; } - if( i != tw->tabs.numRows -1 ) + if( i != (int) tw->tabs.numRows -1 ) DrawTrim(tw, 0,y+th, tw->core.width, th+s, False,False) ; }