diff --git a/src/ltm/tommath.h b/src/ltm/tommath.h index 2e37bce..0093d55 100644 --- a/src/ltm/tommath.h +++ b/src/ltm/tommath.h @@ -79,7 +79,7 @@ /* this is to make porting into LibTomCrypt easier :-) */ typedef unsigned int mp_digit; #ifdef _MSC_VER -typedef unsigned __int64 mp_word +typedef unsigned __int64 mp_word; #else typedef unsigned long long mp_word; /* PATCHED */ #endif diff --git a/src/update-makefiles.pl b/src/update-makefiles.pl index 097aafb..93e2935 100755 --- a/src/update-makefiles.pl +++ b/src/update-makefiles.pl @@ -25,7 +25,7 @@ # #else # typedef unsigned long long mp_word; # #endif -system 'sed', '-i', 's,^\(typedef *unsigned *long *long *mp_word;\)$,#ifdef _MSC_VER\ntypedef unsigned __int64 mp_word\n#else\n\1 /* PATCHED */\n#endif,', 'src//ltm/tommath.h'; +system 'sed', '-i', 's,^\(typedef *unsigned *long *long *mp_word;\)$,#ifdef _MSC_VER\ntypedef unsigned __int64 mp_word;\n#else\n\1 /* PATCHED */\n#endif,', 'src//ltm/tommath.h'; find({ wanted=>sub { unlink $_ if -f $_ && $_ =~ /test\.c$/ && $_ !~ /sha3_test.c$/ }, no_chdir=>1 }, "$FindBin::Bin/ltc"); find({ wanted=>sub { unlink $_ if -f $_ && $_ =~ /\.o$/ }, no_chdir=>1 }, "$FindBin::Bin/ltm", "$FindBin::Bin/ltc");