diff options
author | Richard Braun <rbraun@sceen.net> | 2017-01-13 00:16:09 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-01-13 00:16:09 +0100 |
commit | cf59c5fa63b4639777fbe28fba79cfbd63fa6d4e (patch) | |
tree | 6cd4b64fc94f7cc9c2c1f75ba298169a88248657 /kern/stdint.h | |
parent | 27e9a04a0a07707d7a85dc65198b4ab8f32888f6 (diff) |
Replace unsigned long with uintptr_t for integer/pointer conversions
This is mostly done for the machine-independent part.
Diffstat (limited to 'kern/stdint.h')
-rw-r--r-- | kern/stdint.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kern/stdint.h b/kern/stdint.h index d6794c4e..7aac9170 100644 --- a/kern/stdint.h +++ b/kern/stdint.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2011 Richard Braun. + * Copyright (c) 2010-2017 Richard Braun. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -18,6 +18,8 @@ #ifndef _KERN_STDINT_H #define _KERN_STDINT_H +typedef unsigned long uintptr_t; + typedef signed char int8_t; typedef unsigned char uint8_t; typedef signed short int16_t; |