error C2440: 'type cast' : cannot convert from 'std::_Vector_iterator<_Ty,_Alloc>' to 'DWORD'

前端 未结 2 1665
南笙
南笙 2021-01-23 09:20

I get the following error:

error C2440: \'type cast\' : cannot convert from \'std::_Vector_iterator<_Ty,_Alloc>\' to \'DWORD\'
        with
        [
              


        
2条回答
  •  忘掉有多难
    2021-01-23 09:57

    My intention was to get rid of the error.

    This worked perfectly: *(DWORD*)(offset+0x571) = (DWORD)factions.front();

提交回复
热议问题