diff options
-rw-r--r-- | src/gui/models/playertablemodel.cpp | 2 | ||||
-rw-r--r-- | src/utils/stringutils.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/models/playertablemodel.cpp b/src/gui/models/playertablemodel.cpp index 271b6a5bb..161e82dc2 100644 --- a/src/gui/models/playertablemodel.cpp +++ b/src/gui/models/playertablemodel.cpp @@ -45,7 +45,7 @@ static const unsigned int ROW_HEIGHT = 12; static const unsigned int NAME_COLUMN_WIDTH = 230; static const unsigned int RELATION_CHOICE_COLUMN_WIDTH = 80; -#define WIDGET_AT(row, column) (((row) * COLUMNS_NR) + column) +#define WIDGET_AT(row, column) (((row) * COLUMNS_NR) + (column)) PlayerTableModel::PlayerTableModel(const Widget2 *const widget) : Widget2(widget), diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp index 4f3a156cc..74edefba0 100644 --- a/src/utils/stringutils.cpp +++ b/src/utils/stringutils.cpp @@ -99,7 +99,7 @@ const char *ipToString(const uint32_t address) std::string strprintf(const char *const format, ...) { char buf[257]; - va_list(args); + va_list args; va_start(args, format); size_t nb = vsnprintf(buf, 256, format, args); buf[256] = 0; |