[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-server-cvs
Subject: [Server-cvs] fs/asncfs asncfobj.cpp,1.9,1.10
From: dcollins () helixcommunity ! org
Date: 2010-10-21 23:22:05
Message-ID: 201010212322.o9LNM6CA010316 () mailer ! progressive-comp ! com
[Download RAW message or body]
Update of /cvsroot/server/fs/asncfs
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv31408
Modified Files:
asncfobj.cpp
Log Message:
fix 32-bit compiler warning
Index: asncfobj.cpp
===================================================================
RCS file: /cvsroot/server/fs/asncfs/asncfobj.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- asncfobj.cpp 21 Oct 2010 23:20:27 -0000 1.9
+++ asncfobj.cpp 21 Oct 2010 23:22:03 -0000 1.10
@@ -1161,9 +1161,10 @@
pOverlapped->Internal = 0;
pOverlapped->InternalHigh = 0;
pOverlapped->Offset = (DWORD)(m_nPos & 0xffffffff);
- pOverlapped->OffsetHigh = 0;
#if defined(_WIN64)
pOverlapped->OffsetHigh = (DWORD)(m_nPos >> 32);
+#else
+ pOverlapped->OffsetHigh = 0;
#endif
pOverlapped->hEvent = 0;
@@ -1321,7 +1322,11 @@
pOverlapped->Internal = 0;
pOverlapped->InternalHigh = 0;
pOverlapped->Offset = (DWORD)(m_nPos & 0xffffffff);
+#if defined(_WIN64)
pOverlapped->OffsetHigh = (DWORD)(m_nPos >> 32);
+#else
+ pOverlapped->OffsetHigh = 0;
+#endif
pOverlapped->hEvent = 0;
if (!ReadFile(nFd, m_pBuffer + nOffset, ulCount, NULL,
_______________________________________________
Server-cvs mailing list
Server-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/server-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic