On Wed, Feb 28, 2007 at 12:26:33PM +0000, Martin Guy wrote:

> -             // NOTE: whith will likely trigger a compiler
> -             //       warning when T is an unsigned type
> +             // NOTE: triggers a compiler warning when T is an unsigned type

Beside, I've been thinking about adding a

        template <typename U>
        static bool isUnsigned(U n); 

method. So we can specialize for unsigned to always return false
and the warning would go away. 

... just in case you feel like giving templates a try ;)

--strk;


_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit

Reply via email to