Changeset eee3bc1 in rtems


Ignore:
Timestamp:
Oct 29, 2009, 6:36:40 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
b8134276
Parents:
3021db1
Message:

Add UL suffix to long constants to avoid
implicit integer overflows on 16bit targets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/samples/pppd/netconfig.h

    r3021db1 reee3bc1  
    2424  NULL,
    2525  30,                 /* Default network task priority */
    26   (256*1024),         /* Default mbuf capacity */
    27   (512*1024),         /* Default mbuf cluster capacity */
     26  (256UL *1024UL),    /* Default mbuf capacity */
     27  (512UL *1024UL),    /* Default mbuf cluster capacity */
    2828  0,                  /* Host name */
    2929  0,                  /* Domain name */
Note: See TracChangeset for help on using the changeset viewer.