Fix warning.
Hope this is what was intended.... Precedence is the devil. git-svn-id: svn://localhost/ardour2/branches/3.0@3946 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
62c9bce040
commit
8b951bb9ee
@ -176,7 +176,7 @@ MidiByteArray calculate_challenge_response( MidiByteArray::iterator begin, MidiB
|
||||
// from the Logic docs.
|
||||
retval << ( 0x7f & ( l[0] + ( l[1] ^ 0xa ) - l[3] ) );
|
||||
retval << ( 0x7f & ( ( l[2] >> l[3] ) ^ ( l[0] + l[3] ) ) );
|
||||
retval << ( 0x7f & ( l[3] - ( l[2] << 2 ) ^ ( l[0] | l[1] ) ) );
|
||||
retval << ( 0x7f & ( (l[3] - ( l[2] << 2 )) ^ ( l[0] | l[1] ) ) );
|
||||
retval << ( 0x7f & ( l[1] - l[2] + ( 0xf0 ^ ( l[3] << 4 ) ) ) );
|
||||
|
||||
return retval;
|
||||
|
Loading…
Reference in New Issue
Block a user