Changeset 16564


Ignore:
Timestamp:
06/01/13 22:22:00 (11 years ago)
Author:
tbretz
Message:
Fixing the typo only at one place is not enough; removed the include unintentionally.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcore/checksum.h

    r16563 r16564  
    11#ifndef MARS_checksum
    22#define MARS_checksum
     3
     4#include <arpa/inet.h>
    35
    46namespace std
     
    7880
    7981        // This is about as twice as fast as the loop above
    80         // ntohs is CPU optimized, hilo[n] doesn't need to be computed
    81         const uint32_t *end = sbuf + len/2;
     82        // ntohs is CPU optimized, i%2 doesn't need to be computed
     83        const uint16_t *end = sbuf + len/2;
    8284        while (1)
    8385        {
Note: See TracChangeset for help on using the changeset viewer.