~ubuntu-branches/ubuntu/feisty/linux-atm/feisty

« back to all changes in this revision

Viewing changes to src/mpoad/p_factory.c

  • Committer: Bazaar Package Importer
  • Author(s): Peter De Schrijver (p2)
  • Date: 2005-03-17 23:02:03 UTC
  • mfrom: (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050317230203-7vc1pxi0oua0nw5w
Tags: 2.4.1-17
Fix build problem with gcc 4.0 (Closes: )

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
        while( count > 1 )  {
36
36
           /*  This is the inner loop */
37
 
               sum += * ((uint16_t *) addr)++;
 
37
               sum += * ((uint16_t *) addr); addr += sizeof(uint16_t);
38
38
               count -= 2;
39
39
       }
40
40