]> rtime.felk.cvut.cz Git - orte.git/blobdiff - orte/java/src/org/ocera/orte/types/NtpTime.java
JORTE: fix the '2^32' problem and formatting in debug printf()
[orte.git] / orte / java / src / org / ocera / orte / types / NtpTime.java
index 0f8ea5443e07e14344df1965c3cc6c5202fc92ff..d5e34708338bd6b4259ab1ef561869586b8dcef6 100644 (file)
@@ -87,7 +87,7 @@ public class NtpTime {
    **/
   public long getDecimal()
   {
-    return this.seconds + (this.fraction/2^32);
+    return this.seconds + (this.fraction << 32);
   }
     
   /* ****************************************************************** *