diff --git a/eth/main.cpp b/eth/main.cpp index 58a8d8206..a8add5729 100644 --- a/eth/main.cpp +++ b/eth/main.cpp @@ -1523,7 +1523,7 @@ int main(int argc, char** argv) if (gasFloor != UndefinedU256) c_gasFloorTarget = gasFloor; if (networkId == (unsigned)-1) - networkId = c_network; + networkId = (unsigned)c_network; if (g_logVerbosity > 0) {