Commit ed960787 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

urlmon/tests: Use BOOL type where appropriate.

parent cd93070b
...@@ -1740,7 +1740,8 @@ static void test_internet_features_registry(void) { ...@@ -1740,7 +1740,8 @@ static void test_internet_features_registry(void) {
char *name; char *name;
HKEY feature_control; HKEY feature_control;
HKEY feature; HKEY feature;
DWORD value, skip_zone; DWORD value;
BOOL skip_zone;
BOOL delete_feature_key = TRUE; BOOL delete_feature_key = TRUE;
static const char* szFeatureBehaviorsKey = "FEATURE_BEHAVIORS"; static const char* szFeatureBehaviorsKey = "FEATURE_BEHAVIORS";
...@@ -1805,11 +1806,11 @@ static void test_internet_features_registry(void) { ...@@ -1805,11 +1806,11 @@ static void test_internet_features_registry(void) {
if (res == ERROR_ACCESS_DENIED) if (res == ERROR_ACCESS_DENIED)
{ {
skip("Not allowed to modify zone elevation\n"); skip("Not allowed to modify zone elevation\n");
skip_zone = 1; skip_zone = TRUE;
} }
else else
{ {
skip_zone = 0; skip_zone = FALSE;
ok(res == ERROR_SUCCESS, "RegSetValueEx failed: %d\n", res); ok(res == ERROR_SUCCESS, "RegSetValueEx failed: %d\n", res);
hres = pCoInternetIsFeatureEnabled(FEATURE_ZONE_ELEVATION, GET_FEATURE_FROM_PROCESS); hres = pCoInternetIsFeatureEnabled(FEATURE_ZONE_ELEVATION, GET_FEATURE_FROM_PROCESS);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment