commit | 0628ec7e6ede67f78b9d5c83bebbebc7d5095815 | [log] [tgz] |
---|---|---|
author | PJ <pjo@google.com> | Wed Jul 23 08:32:17 2014 -0700 |
committer | PJ <pjo@google.com> | Wed Jul 23 08:33:43 2014 -0700 |
tree | 97dced8a746bf7073f4ea7122468ad9797da8b4e | |
parent | 159bde32504615052bac41b8cf268fea4f949140 [diff] |
Make LONG be 64bits on 64bit system
diff --git a/test/com/google/enterprise/adaptor/fs/WindowsFileDelegateTest.java b/test/com/google/enterprise/adaptor/fs/WindowsFileDelegateTest.java index 864c14b..5d05256 100644 --- a/test/com/google/enterprise/adaptor/fs/WindowsFileDelegateTest.java +++ b/test/com/google/enterprise/adaptor/fs/WindowsFileDelegateTest.java
@@ -518,7 +518,7 @@ int offset = 0; for (Storage storage : storages) { storagesMem.setLong(offset, storage.state); - offset += Native.LONG_SIZE; + offset += Pointer.SIZE; writeWString(storagesMem, offset, storage.serverName); offset += Pointer.SIZE; writeWString(storagesMem, offset, storage.shareName);