Skip to content

Commit 9233eff

Browse files
author
Aapo Kyrola
committed
merge
1 parent 24a5927 commit 9233eff

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/edu/cmu/graphchi/datablocks/IntConverter.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ public Integer getValue(byte[] array) {
2626
}
2727

2828
public void setValue(byte[] array, Integer x) {
29-
array[3] = (byte) ((x >>> 24) & 0xff);
30-
array[2] = (byte) ((x >>> 16) & 0xff);
31-
array[1] = (byte) ((x >>> 8) & 0xff);
3229
array[0] = (byte) ((x >>> 0) & 0xff);
30+
array[1] = (byte) ((x >>> 8) & 0xff);
31+
array[2] = (byte) ((x >>> 16) & 0xff);
32+
array[3] = (byte) ((x >>> 24) & 0xff);
33+
3334
}
3435
}

0 commit comments

Comments
 (0)