Skip to content

Commit

Permalink
replace 'LSTATUS' with 'LONG'
Browse files Browse the repository at this point in the history
When Arcanum was being developed, the Windows SDK declared 'RegOpenKeyExA' as returning a 'LONG'. The 'LSTATUS' type came much later, with the SDK for Windows Vista in 2006.
  • Loading branch information
Softkandi committed Sep 18, 2024
1 parent 1568243 commit ca2a6f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ void tig_debug_init_backends()
void tig_debug_init_backends_from_registry()
{
#ifdef _WIN32
LSTATUS rc;
LONG rc;
HKEY key;
DWORD type;
DWORD data;
Expand Down

0 comments on commit ca2a6f7

Please sign in to comment.