X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=Client%20Applications%2Frcracki_mt%2FHashRoutine.cpp;h=71e9eefa1fc5b0694f0afbcd0257649b11bb4a06;hb=47c71901e7a97c226c8f1df749e3606d43656f32;hp=e4dc811b8ec3ee0395e617a0f69350a840be4f3a;hpb=ce75ca839a9cd1863ea13636ffebf7ee1dcc4267;p=freerainbowtables diff --git a/Client Applications/rcracki_mt/HashRoutine.cpp b/Client Applications/rcracki_mt/HashRoutine.cpp index e4dc811..71e9eef 100644 --- a/Client Applications/rcracki_mt/HashRoutine.cpp +++ b/Client Applications/rcracki_mt/HashRoutine.cpp @@ -5,9 +5,9 @@ * Copyright (C) Zhu Shuanglei * Copyright Martin Westergaard Jørgensen * Copyright 2009, 2010 Daniël Niggebrugge - * Copyright 2009, 2010 James Nobis + * Copyright 2009, 2010, 2011 James Nobis * - * This file is part of racrcki_mt. + * This file is part of rcracki_mt. * * rcracki_mt is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,8 +23,8 @@ * along with rcracki_mt. If not, see . */ -#ifdef _WIN32 - #pragma warning(disable : 4786 4267 4018) +#if defined(_WIN32) && !defined(__GNUC__) + #pragma warning(disable : 4786) #endif #include "HashRoutine.h" @@ -71,7 +71,7 @@ void CHashRoutine::AddHashRoutine(string sHashRoutineName, HASHROUTINE pHashRout string CHashRoutine::GetAllHashRoutineName() { string sRet; - UINT4 i; + uint32 i; for (i = 0; i < vHashRoutineName.size(); i++) sRet += vHashRoutineName[i] + " "; @@ -80,7 +80,7 @@ string CHashRoutine::GetAllHashRoutineName() void CHashRoutine::GetHashRoutine(string sHashRoutineName, HASHROUTINE& pHashRoutine, int& nHashLen) { - UINT4 i; + uint32 i; for (i = 0; i < vHashRoutineName.size(); i++) { if (sHashRoutineName == vHashRoutineName[i])