Fix the enumeration value list end marker (0 and (void*)0 are very different things in amd64)

This commit is contained in:
Gustavo J. A. M. Carneiro
2007-09-28 16:51:34 +01:00
parent 16e4a3c10e
commit b6d9bf7319

View File

@@ -41,9 +41,9 @@ g_mode ("RandomWalk2dMode",
"change the current speed and direction",
RandomWalk2dMobilityModelParameters::MODE_DISTANCE, "Distance",
RandomWalk2dMobilityModelParameters::MODE_TIME, "Time",
0, 0);
0, (void*)0);
static IntegerDefaultValue<double>
static NumericDefaultValue<double>
g_modeDistance ("RandomWalk2dDistance",
"Change current direction and speed after moving this distance.",
2.0);