[Tinyos-2-commits]
CVS: tinyos-2.x/support/sdk/java/net/tinyos/message
Message.java, 1.1.2.3, 1.1.2.4
David Gay
idgay at users.sourceforge.net
Wed May 3 09:48:35 PDT 2006
Update of /cvsroot/tinyos/tinyos-2.x/support/sdk/java/net/tinyos/message
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20900
Modified Files:
Tag: tinyos-2_0_devel-BRANCH
Message.java
Log Message:
missing cast
Index: Message.java
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/support/sdk/java/net/tinyos/message/Attic/Message.java,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -d -r1.1.2.3 -r1.1.2.4
*** Message.java 8 Feb 2006 18:27:30 -0000 1.1.2.3
--- Message.java 3 May 2006 16:48:33 -0000 1.1.2.4
***************
*** 454,458 ****
if (bitOffset > 0) {
length -= 8 - bitOffset;
! val = (ubyte(byteOffset) & ((1 << (8 - bitOffset)) - 1)) << length;
byteOffset++;
}
--- 454,458 ----
if (bitOffset > 0) {
length -= 8 - bitOffset;
! val = (long)(ubyte(byteOffset) & ((1 << (8 - bitOffset)) - 1)) << length;
byteOffset++;
}
More information about the Tinyos-2-commits
mailing list