From 2c3a706ac47dd29570e0916a98e626ea2456b43a Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Wed, 16 Dec 2015 17:23:50 -0500 Subject: [PATCH] Cleanup of includes. --- MasterPassword/C/mpw-algorithm_v0.c | 3 --- MasterPassword/C/mpw-algorithm_v1.c | 2 -- MasterPassword/C/mpw-algorithm_v2.c | 2 -- MasterPassword/C/mpw-algorithm_v3.c | 2 -- MasterPassword/C/mpw-bench.c | 1 - MasterPassword/C/mpw-tests-util.c | 2 +- 6 files changed, 1 insertion(+), 11 deletions(-) diff --git a/MasterPassword/C/mpw-algorithm_v0.c b/MasterPassword/C/mpw-algorithm_v0.c index 7b8d1657..3873a9ff 100644 --- a/MasterPassword/C/mpw-algorithm_v0.c +++ b/MasterPassword/C/mpw-algorithm_v0.c @@ -6,11 +6,8 @@ // Copyright (c) 2014 Lyndir. All rights reserved. // -#include #include #include -#include -#include #include "mpw-types.h" #include "mpw-util.h" diff --git a/MasterPassword/C/mpw-algorithm_v1.c b/MasterPassword/C/mpw-algorithm_v1.c index 74923b9f..300002f5 100644 --- a/MasterPassword/C/mpw-algorithm_v1.c +++ b/MasterPassword/C/mpw-algorithm_v1.c @@ -6,10 +6,8 @@ // Copyright (c) 2014 Lyndir. All rights reserved. // -#include #include #include -#include #include "mpw-types.h" #include "mpw-util.h" diff --git a/MasterPassword/C/mpw-algorithm_v2.c b/MasterPassword/C/mpw-algorithm_v2.c index 123d5e66..25153b72 100644 --- a/MasterPassword/C/mpw-algorithm_v2.c +++ b/MasterPassword/C/mpw-algorithm_v2.c @@ -6,10 +6,8 @@ // Copyright (c) 2014 Lyndir. All rights reserved. // -#include #include #include -#include #include "mpw-types.h" #include "mpw-util.h" diff --git a/MasterPassword/C/mpw-algorithm_v3.c b/MasterPassword/C/mpw-algorithm_v3.c index a9ed37e0..30a21516 100644 --- a/MasterPassword/C/mpw-algorithm_v3.c +++ b/MasterPassword/C/mpw-algorithm_v3.c @@ -6,10 +6,8 @@ // Copyright (c) 2014 Lyndir. All rights reserved. // -#include #include #include -#include #include "mpw-types.h" #include "mpw-util.h" diff --git a/MasterPassword/C/mpw-bench.c b/MasterPassword/C/mpw-bench.c index 987d6b74..67e6aaa5 100644 --- a/MasterPassword/C/mpw-bench.c +++ b/MasterPassword/C/mpw-bench.c @@ -16,7 +16,6 @@ #include #include "mpw-algorithm.h" -#include "mpw-util.h" #define MP_N 32768 #define MP_r 8 diff --git a/MasterPassword/C/mpw-tests-util.c b/MasterPassword/C/mpw-tests-util.c index 1636f994..1ae59c63 100644 --- a/MasterPassword/C/mpw-tests-util.c +++ b/MasterPassword/C/mpw-tests-util.c @@ -69,7 +69,7 @@ xmlChar *mpw_xmlTestCaseString(xmlNodePtr context, const char *nodeName) { uint32_t mpw_xmlTestCaseInteger(xmlNodePtr context, const char *nodeName) { xmlChar *string = mpw_xmlTestCaseString( context, nodeName ); - uint32_t integer = atol( (char *)string ); + uint32_t integer = (uint32_t)atol( (char *)string ); xmlFree( string ); return integer;