Permalink
Browse files

Issue #127: fixed incorrect handling of byte values.

  • Loading branch information...
1 parent 95fc6d7 commit bc11afab5a47641785b209c289ad456bb59730b8 @jawi committed Dec 11, 2012
@@ -467,7 +467,7 @@ else if ( id != SLA_V1 )
{
if ( this.config.isGroupEnabled( g ) )
{
- samples[i] |= ( rawData[j++] << ( 8 * g ) );
+ samples[i] |= ( ( rawData[j++] & 0xff ) << ( 8 * g ) );
}
}
}

0 comments on commit bc11afa

Please sign in to comment.