diff options
| author | erdgeist <> | 2007-10-12 21:57:12 +0000 |
|---|---|---|
| committer | erdgeist <> | 2007-10-12 21:57:12 +0000 |
| commit | 4c15dc7a70b189a7ae2cc66196c42f26881eb85e (patch) | |
| tree | f34328ff703580dfd287a312a602ec636d27b526 /trackerlogic.h | |
| parent | dd82db18ad50c391c22fe3e41d25d7eedf21528d (diff) | |
make 64bit safe
Diffstat (limited to 'trackerlogic.h')
| -rw-r--r-- | trackerlogic.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/trackerlogic.h b/trackerlogic.h index 35dd9c8..37e2451 100644 --- a/trackerlogic.h +++ b/trackerlogic.h | |||
| @@ -11,9 +11,9 @@ | |||
| 11 | /* Should be called BYTE, WORD, DWORD - but some OSs already have that and there's no #iftypedef */ | 11 | /* Should be called BYTE, WORD, DWORD - but some OSs already have that and there's no #iftypedef */ |
| 12 | /* They mark memory used as data instead of integer or human readable string - | 12 | /* They mark memory used as data instead of integer or human readable string - |
| 13 | they should be cast before used as integer/text */ | 13 | they should be cast before used as integer/text */ |
| 14 | typedef unsigned char ot_byte; | 14 | typedef uint8_t ot_byte; |
| 15 | typedef unsigned short ot_word; | 15 | typedef uint16_t ot_word; |
| 16 | typedef unsigned long ot_dword; | 16 | typedef uint32_t ot_dword; |
| 17 | 17 | ||
| 18 | typedef ot_byte ot_hash[20]; | 18 | typedef ot_byte ot_hash[20]; |
| 19 | typedef ot_dword ot_ip; | 19 | typedef ot_dword ot_ip; |
