OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [Muscle] minor BUG MCardPlugin

From: Ludovic Rousseau (ludovic.rousseaugmail.com)
Date: Thu Apr 07 2005 - 04:55:32 CDT


On Apr 7, 2005 8:45 AM, Damien Sauveron <sauveronlabri.fr> wrote:
> Ludovic Rousseau a écrit :
> > I corrected the code using + instead of | to avoid any confusion.
>
> "+" and "|" are not the same operation!

Sure. But what is the difference in THIS particular case?

MSCPUChar8 srcValue;
((MSCUShort16)srcValue[0]) << 8) + srcValue[1]
versus
((MSCUShort16)srcValue[0]) << 8) | srcValue[1]

--
 Dr. Ludovic Rousseau
 For private mail use ludovic.rousseaufree.fr and not "big brother" Google

_______________________________________________
Muscle mailing list
Musclelists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle