Skip to content

Commit

Permalink
Merge pull request #287 from Jdochoa/master
Browse files Browse the repository at this point in the history
 Assertion failed
  • Loading branch information
mariuz authored Dec 9, 2022
2 parents 85350fd + b6024da commit a6a1c43
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/gui/controls/DBHTreeControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#include <wx/dataobj.h>
#include <wx/dnd.h>
#include <wx/imaglist.h>
#include <wx/strvararg.h>

#include <algorithm>
#include <map>
Expand Down Expand Up @@ -492,7 +493,7 @@ void DBHTreeItemVisitor::visitFunctionSQL(FunctionSQL& function)
else
++ins;
}
nodeTextM += wxString::Format(" (%d, %d)", ins, outs);
nodeTextM += wxString::Format(" (%zu, %zu)", ins, outs);
}
}
// show Parameter nodes if Config setting is on
Expand Down Expand Up @@ -528,7 +529,7 @@ void DBHTreeItemVisitor::visitUDF(UDF& function)
else
++ins;
}
nodeTextM += wxString::Format(" (%d, %d)", ins, outs);
nodeTextM += wxString::Format(" (%zu, %zu)", ins, outs);
}
}
// show Parameter nodes if Config setting is on
Expand Down Expand Up @@ -617,7 +618,7 @@ void DBHTreeItemVisitor::visitPackage(Package& package)
else
++ins;
}
nodeTextM += wxString::Format(" (%d, %d)", ins, outs);
nodeTextM += wxString::Format(" (%zu, %zu)", ins, outs);
}
}
// show Parameter nodes if Config setting is on
Expand Down Expand Up @@ -658,7 +659,7 @@ void DBHTreeItemVisitor::visitProcedure(Procedure& procedure)
else
++ins;
}
nodeTextM += wxString::Format(" (%d, %d)", ins, outs);
nodeTextM += wxString::Format(" (%zu, %zu)", ins, outs);
}
}
// show Parameter nodes if Config setting is on
Expand Down Expand Up @@ -730,7 +731,7 @@ void DBHTreeItemVisitor::visitGTTable(GTTable& table)
if (DBHTreeConfigCache::get().getShowColumnParamCount())
{
size_t colCount = table.getColumnCount();
nodeTextM += wxString::Format(" (%d)", colCount);
nodeTextM += wxString::Format(" (%zu)", colCount);
}
}
// show Column nodes if Config setting is on
Expand All @@ -757,7 +758,8 @@ void DBHTreeItemVisitor::visitTable(Table& table)
if (DBHTreeConfigCache::get().getShowColumnParamCount())
{
size_t colCount = table.getColumnCount();
nodeTextM += wxString::Format(" (%d)", colCount);

nodeTextM += wxString::Format(" (%zu)", colCount);
}
}
// show Column nodes if Config setting is on
Expand All @@ -783,7 +785,7 @@ void DBHTreeItemVisitor::visitSysTable(SysTable& table)
if (DBHTreeConfigCache::get().getShowColumnParamCount())
{
size_t colCount = table.getColumnCount();
nodeTextM += wxString::Format(" (%d)", colCount);
nodeTextM += wxString::Format(" (%zu)", colCount);
}
}
// show Column nodes if Config setting is on
Expand Down Expand Up @@ -837,7 +839,7 @@ void DBHTreeItemVisitor::visitView(View& view)
if (DBHTreeConfigCache::get().getShowColumnParamCount())
{
size_t colCount = view.getColumnCount();
nodeTextM += wxString::Format(" (%d)", colCount);
nodeTextM += wxString::Format(" (%zu)", colCount);
}
}
// show Column nodes if Config setting is on
Expand Down

0 comments on commit a6a1c43

Please sign in to comment.