sourcehook/sourcehook.cpp
changeset 107 1d6e7e0bdcd9
parent 103 3e818125b830
child 108 305ad7e181d5
     1.1 --- a/sourcehook/sourcehook.cpp	Tue Sep 13 20:20:49 2005 +0000
     1.2 +++ b/sourcehook/sourcehook.cpp	Tue Sep 13 20:21:58 2005 +0000
     1.3 @@ -14,18 +14,19 @@
     1.4   * @brief Contains the implementation of the SourceHook API
     1.5  */
     1.6  
     1.7 +#include <stdint.h>
     1.8  #include "sourcehook_impl.h"
     1.9  #include "sh_tinyhash.h"
    1.10  
    1.11  namespace SourceHook
    1.12  {
    1.13  	template<>
    1.14 -	SourceHook::HashFunction<int>(const int & k)
    1.15 +	int SourceHook::HashFunction<int>(const int & k)
    1.16  	{
    1.17  		return k;
    1.18  	}
    1.19  	template<>
    1.20 -	SourceHook::Compare<int>(const int & k1, const int & k2)
    1.21 +	int SourceHook::Compare<int>(const int & k1, const int & k2)
    1.22  	{
    1.23  		if (k1 == k2)
    1.24  			return 0;