On Fri, Feb 23, 2001 at 04:32:32PM +0000, John Levon wrote: > > > > I thought we dodn't do C-style casts? > > > > > > You want me to do a typedef instead ? or is the scope resolution > > > operator allowed in C++ style casts ? > > > > Change the line above to > > Formats::FormatList::size_type const i = fl_get_choice(dialog_->choice_from); > > and then you won't need a cast. > > Is the assumption that vector::size_type will always be signed acceptable ? > If so, then this would work indeed. I wasn't sure this assumption was OK vector::size_type is unsigned int, while fl_get_choice returns an int, but you don't need a cast in this case.
- [PATCH] FileDialog John Levon
- Re: [PATCH] FileDialog John Levon
- Re: [PATCH] FileDialog Angus Leeming
- Re: [PATCH] FileDialog John Levon
- Re: [PATCH] FileDialog Dekel Tsur
- Re: [PATCH] FileDialog John Levon
- Re: [PATCH] FileDialog Angus Leeming
- Re: [PATCH] FileDialog John Levon
- Re: [PATCH] FileDialog Angus Leeming
- Re: [PATCH] FileDialog John Levon
- [PATCH] FileDialog Dekel Tsur
- [PATCH] FileDialog John Levon
- Parsing bug with soft hyphen Martin Vermeer
- Re: Parsing bug with soft hyphen Lars Gullik Bjønnes
- Re: Parsing bug with soft hyphen Martin Vermeer
- Re: Parsing bug with soft hyphen Andre Poenitz
- Re: [PATCH] FileDialog Angus Leeming
- Re: [PATCH] FileDialog Lars Gullik Bjønnes
- Re: [PATCH] FileDialog John Levon
- Re: [PATCH] FileDialog Lars Gullik Bjønnes
- Re: [PATCH] FileDialog John Levon