Ignore:
Timestamp:
Nov 10, 2005, 9:41:13 PM (18 years ago)
Author:
Sam Hocevar
Message:
  • absolute shitloads of 64 bit fixes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/net/include/ipx.hpp

    r2 r17  
    141141    void add_to_packet(void *buf, int size);
    142142
    143     void write_byte(unsigned char x) { add_to_packet(&x,1); }
    144     void write_short(unsigned short x) { x=lstl(x); add_to_packet(&x,2); }
    145     void write_long(unsigned long x) { x=lltl(x); add_to_packet(&x,4); }
     143    void write_uint8(uint8_t x) { add_to_packet(&x,1); }
     144    void write_uint16(uint16_t x) { x=lstl(x); add_to_packet(&x,2); }
     145    void write_uint32(uint32_t x) { x=lltl(x); add_to_packet(&x,4); }
    146146
    147147
Note: See TracChangeset for help on using the changeset viewer.