@@ -1900,12 +1900,12 @@ FormatPromptRecurse
1900
1900
if (var_name_begin[0 ] == ' n' || var_name_begin[5 ] == ' f' )
1901
1901
{
1902
1902
format_file_spec.GetFilename () = exe_module->GetFileSpec ().GetFilename ();
1903
- var_success = format_file_spec;
1903
+ var_success = ( bool ) format_file_spec;
1904
1904
}
1905
1905
else
1906
1906
{
1907
1907
format_file_spec = exe_module->GetFileSpec ();
1908
- var_success = format_file_spec;
1908
+ var_success = ( bool ) format_file_spec;
1909
1909
}
1910
1910
}
1911
1911
}
@@ -2065,12 +2065,12 @@ FormatPromptRecurse
2065
2065
if (IsToken (var_name_begin, " basename}" ))
2066
2066
{
2067
2067
format_file_spec.GetFilename () = module->GetFileSpec ().GetFilename ();
2068
- var_success = format_file_spec;
2068
+ var_success = ( bool ) format_file_spec;
2069
2069
}
2070
2070
else if (IsToken (var_name_begin, " fullpath}" ))
2071
2071
{
2072
2072
format_file_spec = module->GetFileSpec ();
2073
- var_success = format_file_spec;
2073
+ var_success = ( bool ) format_file_spec;
2074
2074
}
2075
2075
}
2076
2076
}
@@ -2089,12 +2089,12 @@ FormatPromptRecurse
2089
2089
if (IsToken (var_name_begin, " basename}" ))
2090
2090
{
2091
2091
format_file_spec.GetFilename () = sc->comp_unit ->GetFilename ();
2092
- var_success = format_file_spec;
2092
+ var_success = ( bool ) format_file_spec;
2093
2093
}
2094
2094
else if (IsToken (var_name_begin, " fullpath}" ))
2095
2095
{
2096
2096
format_file_spec = *sc->comp_unit ;
2097
- var_success = format_file_spec;
2097
+ var_success = ( bool ) format_file_spec;
2098
2098
}
2099
2099
}
2100
2100
}
@@ -2353,12 +2353,12 @@ FormatPromptRecurse
2353
2353
if (IsToken (var_name_begin, " basename}" ))
2354
2354
{
2355
2355
format_file_spec.GetFilename () = sc->line_entry .file .GetFilename ();
2356
- var_success = format_file_spec;
2356
+ var_success = ( bool ) format_file_spec;
2357
2357
}
2358
2358
else if (IsToken (var_name_begin, " fullpath}" ))
2359
2359
{
2360
2360
format_file_spec = sc->line_entry .file ;
2361
- var_success = format_file_spec;
2361
+ var_success = ( bool ) format_file_spec;
2362
2362
}
2363
2363
}
2364
2364
else if (IsTokenWithFormat (var_name_begin, " number" , token_format, " %" PRIu64, exe_ctx, sc))
0 commit comments