.


:




:

































 

 

 

 





, 4 .

SORTMM.C(137): warning C4312: 'type cast': conversion from 'DWORD' to 'TCHAR __based(pInFile) *' of greater size

SORTMM.C(139): warning C4311: 'type cast': pointer truncation from 'TCHAR __based(pInFile) *' to 'DWORD'

( 137) . (type cast) LPDWORD 32- , pIn. , pIn . 137 LPDWORD LPTSTR :

pIn = (TCHAR _based(pInFile)*)*(DWORD_PTR)pX;

139 , . , , . 137. , FsSize DWORD. , 139 :

while ((*pIn!= CR || *(pIn + 1)!= LF) && (SIZE_T)pIn < (SIZE_T)FsIn) {

, 2b, , (pointer truncation). 16.2.

16.2. sortMM: Win64, 2

40 DWORD, KStart, KSize;

174 /* 2b: ; . */

176 KStart = (DWORD) pInScan;

177 /* . */

178 while (*pInScan!=''&& *pInScan!= '\t') pInScan++;

179 /* . */

181 KSize = ((DWORD)pInScan KStart) / TSIZE;

:

SORTMM.C(176): warning C4311: 'type cast': pointer truncation from 'TCHAR __based(pInFile) *' to 'DWORD'

SORTMM.C(181): warning C4311: 'type cast': pointer truncation from 'TCHAR __based(pInFile) *' to 'DWORD'

DWORD_PTR 40 176 181.

2 CreateIndexFile. Web- sortMM64., Win32, Win64, .





:


: 2015-09-20; !; : 457 |


:

:

, .
==> ...

1329 - | 1249 -


© 2015-2024 lektsii.org - -

: 0.009 .