diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-29 06:36:40 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-29 06:36:40 +0000 |
commit | eee3bc1b73d2c2c1cd2124811cfbb46be2490d2e (patch) | |
tree | 9e5b5a38f624ea65e0fc3b6ff159a6ad6c5160ae /testsuites | |
parent | 2009-10-29 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-eee3bc1b73d2c2c1cd2124811cfbb46be2490d2e.tar.bz2 |
Add UL suffix to long constants to avoid
implicit integer overflows on 16bit targets.
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/samples/pppd/netconfig.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |