Skip to content

Commit

Permalink
use _stricmp instead of stricmp to fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nam20485 committed Apr 20, 2024
1 parent 74a7a34 commit 785841d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OdbDesignServer/Controllers/DesignsController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ namespace Odb::App::Server
auto szExcludeFileArchive = req.url_params.get(kszExcludeFileArchiveQueryParamName);
if (szExcludeFileArchive != nullptr)
{
if (stricmp(szExcludeFileArchive, "true") == 0)
if (_stricmp(szExcludeFileArchive, "true") == 0)

Check failure on line 175 in OdbDesignServer/Controllers/DesignsController.cpp

View workflow job for this annotation

GitHub Actions / CMake-Multi-Platform-Build (ubuntu-22.04, linux-release)

‘_stricmp’ was not declared in this scope; did you mean ‘strncmp’?

Check failure on line 175 in OdbDesignServer/Controllers/DesignsController.cpp

View workflow job for this annotation

GitHub Actions / CMake-Multi-Platform-Build (macos-12, macos-release)

use of undeclared identifier '_stricmp'; did you mean 'strcmp'?

Check failure on line 175 in OdbDesignServer/Controllers/DesignsController.cpp

View workflow job for this annotation

GitHub Actions / CMake-Multi-Platform-Build (ubuntu-22.04, linux-release)

‘_stricmp’ was not declared in this scope; did you mean ‘strncmp’?

Check failure on line 175 in OdbDesignServer/Controllers/DesignsController.cpp

View workflow job for this annotation

GitHub Actions / CMake-Multi-Platform-Build (macos-12, macos-release)

use of undeclared identifier '_stricmp'; did you mean 'strcmp'?
{
excludeFileArchive = true;
}
Expand Down

0 comments on commit 785841d

Please sign in to comment.