Changeset 144917 in webkit


Ignore:
Timestamp:
Mar 6, 2013 6:16:30 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Typo in inline function in ByteOrder.h
https://bugs.webkit.org/show_bug.cgi?id=111473

Patch by Paweł Forysiuk <tuxator@o2.pl> on 2013-03-06
Reviewed by Benjamin Poulain.

  • wtf/ByteOrder.h:

(ntohs):

Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r144842 r144917  
     12013-03-06  Paweł Forysiuk  <tuxator@o2.pl>
     2
     3        Typo in inline function in ByteOrder.h
     4        https://bugs.webkit.org/show_bug.cgi?id=111473
     5
     6        Reviewed by Benjamin Poulain.
     7
     8        * wtf/ByteOrder.h:
     9        (ntohs):
     10
    1112013-03-05  Ryuan Choi  <ryuan.choi@samsung.com>
    212
  • trunk/Source/WTF/wtf/ByteOrder.h

    r130238 r144917  
    5252inline uint32_t htonl(uint32_t x) { return x; }
    5353#elif CPU(MIDDLE_ENDIAN)
    54 inline uint16_t ntohs(unit16_t x) { return x; }
     54inline uint16_t ntohs(uint16_t x) { return x; }
    5555inline uint16_t htons(uint16_t x) { return x; }
    5656inline uint32_t ntohl(uint32_t x) { return WTF::wswap32(x); }
Note: See TracChangeset for help on using the changeset viewer.