--- Mar 26/6/12, Mark Peek <m...@freebsd.org> ha scritto:

> >
> > It's a different assertion.
> >
> > Probably some difference between Solaris and BSD.
> > this is very useful, thanks!
> 
> Try this, change the assert on line 1429 in file dt_cc.c
> from:
> 
> assert(!(arg & (UINT16_MAX << args[i].shift)));
> 
> to
> 
> assert(!(arg & ((uint64_t)UINT16_MAX <<
> args[i].shift)));
> 

This certainly looks correct. Thanks Mark !

I updated the patch:

http://people.freebsd.org/~pfg/patches/patch-dtrace-llquantize

cheers,

Pedro.
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to