window: used osiSock to discover broadcast addresses, used more portable types, replaced two instances of variable length stack allocation with std::vector

This commit is contained in:
jrowlandls
2011-09-16 11:54:33 +01:00
parent e54525517c
commit 267d486073
19 changed files with 77 additions and 212 deletions

View File

@@ -596,7 +596,7 @@ class MockChannel : public Channel {
PVDoubleArray *pvField = static_cast<PVDoubleArray*>(m_pvStructure->getScalarArrayField(String("value"), pvDouble));
int v = 0;
int ix = 0;
int COUNT = 1000;
const int COUNT = 1000;
pvField->setCapacity(1000*COUNT);
for (int n = 0; n < 1000; n++)