Oh, err, what was I thinking here?
authorScott Ehlert <ds@alliedmods.net>
Mon Mar 26 19:47:37 2007 +0000 (2007-03-26)
changeset 2999bce3a94cde4
parent 298 0316a0d55281
child 300 807620eb4f4e
Oh, err, what was I thinking here?
sourcemm/CSmmAPI.cpp
     1.1 --- a/sourcemm/CSmmAPI.cpp	Mon Mar 26 19:44:04 2007 +0000
     1.2 +++ b/sourcemm/CSmmAPI.cpp	Mon Mar 26 19:47:37 2007 +0000
     1.3 @@ -563,7 +563,7 @@
     1.4  		 * Add 5 because it's relative to next instruction:
     1.5  		 * Opcode <1 byte> + 32-bit displacement <4 bytes> 
     1.6  		 */
     1.7 -		vfunc = vfunc + *reinterpret_cast<unsigned int *>(vfunc + 1) + 5;
     1.8 +		vfunc = vfunc + *reinterpret_cast<int *>(vfunc + 1) + 5;
     1.9  	}
    1.10  
    1.11  	UserMsgDict *dict = NULL;