Fix integer overflow in RPL timeout expression

This commit is contained in:
Ralf Schlatterbeck 2016-04-22 12:31:21 +02:00
parent 79df347afa
commit 068f27d1c2

View file

@ -260,7 +260,7 @@
#ifdef RPL_CONF_PROBING_EXPIRATION_TIME
#define RPL_PROBING_EXPIRATION_TIME RPL_CONF_PROBING_EXPIRATION_TIME
#else
#define RPL_PROBING_EXPIRATION_TIME (10 * 60 * CLOCK_SECOND)
#define RPL_PROBING_EXPIRATION_TIME (10L * 60 * CLOCK_SECOND)
#endif
/*