From eee3bc1b73d2c2c1cd2124811cfbb46be2490d2e Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 29 Oct 2009 06:36:40 +0000 Subject: Add UL suffix to long constants to avoid implicit integer overflows on 16bit targets. --- testsuites/samples/pppd/netconfig.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuites') diff --git a/testsuites/samples/pppd/netconfig.h b/testsuites/samples/pppd/netconfig.h index 3428288cd2..e440e08c4f 100644 --- a/testsuites/samples/pppd/netconfig.h +++ b/testsuites/samples/pppd/netconfig.h @@ -23,8 +23,8 @@ struct rtems_bsdnet_config rtems_bsdnet_config = { &netdriver_config, NULL, 30, /* Default network task priority */ - (256*1024), /* Default mbuf capacity */ - (512*1024), /* Default mbuf cluster capacity */ + (256UL *1024UL), /* Default mbuf capacity */ + (512UL *1024UL), /* Default mbuf cluster capacity */ 0, /* Host name */ 0, /* Domain name */ 0, /* Gateway */ -- cgit v1.2.3