From 6d7a500f365ee90584222f3fe332ffd95d1f9c41 Mon Sep 17 00:00:00 2001 From: Jamie Madill Date: Wed, 8 Nov 2017 14:48:32 -0500 Subject: loader: Fix improper cast warning. warning C4057: 'function': 'LPBYTE' differs in indirection to slightly different base types This was popping up in some Windows builds. Also add it to the list of warnings enabled by default with MSVS. Change-Id: I2703f2e57ba3fb33ec03fbc7b8324c75187abec6 --- loader/loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'loader') diff --git a/loader/loader.c b/loader/loader.c index 8f954e06..ca6d5719 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -465,7 +465,7 @@ bool loaderGetDeviceRegistryEntry(const struct loader_instance *inst, char **reg value_name, NULL, &data_type, - manifest_path, + (BYTE *)manifest_path, &requiredSize ); -- cgit v1.2.3