Skip to content

Commit

Permalink
fix uint
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@25260 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
rfranke committed Mar 25, 2015
1 parent 5fef56d commit 1c2faeb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SimulationRuntime/cpp/Include/FMU2/FMU2Wrapper.cpp
Expand Up @@ -113,7 +113,7 @@ fmi2Status FMU2Wrapper::setDebugLogging(fmi2Boolean loggingOn,
}
// warn about unsupported log category
if (j == nSupported) {
uint logCategories_bak = _logCategories;
unsigned int logCategories_bak = _logCategories;
_logCategories = 0xFFFF;
FMU2_LOG(this, fmi2Warning, logStatusWarning,
"Unsupported log category \"%s\"", categories[i]);
Expand Down
4 changes: 2 additions & 2 deletions SimulationRuntime/cpp/Include/FMU2/FMU2Wrapper.h
Expand Up @@ -71,7 +71,7 @@ class FMU2Wrapper
virtual fmi2Status setDebugLogging(fmi2Boolean loggingOn,
size_t nCategories,
const fmi2String categories[]);
const uint &logCategories;
const unsigned int &logCategories;
const fmi2CallbackLogger &logger;
const fmi2ComponentEnvironment &componentEnvironment;
const fmi2String &instanceName;
Expand Down Expand Up @@ -141,7 +141,7 @@ class FMU2Wrapper
Fatal = 1 << 6
} ModelState;

uint _logCategories;
unsigned int _logCategories;
fmi2String _instanceName;
fmi2String _GUID;
fmi2CallbackFunctions _functions;
Expand Down

0 comments on commit 1c2faeb

Please sign in to comment.