diff options
| author | Franklin Wei <git@fwei.tk> | 2015-05-12 19:48:05 -0400 |
|---|---|---|
| committer | Franklin Wei <git@fwei.tk> | 2015-05-12 19:48:05 -0400 |
| commit | 9082eb2a10f935a23e140e0089fae26570081883 (patch) | |
| tree | ca050176948fe7df02658b5510820542a867a35f /src/globals.h | |
| parent | eff3b4784cc6bffabbb5e7fbf3b141e85290ab85 (diff) | |
| download | market-sim-9082eb2a10f935a23e140e0089fae26570081883.zip market-sim-9082eb2a10f935a23e140e0089fae26570081883.tar.gz market-sim-9082eb2a10f935a23e140e0089fae26570081883.tar.bz2 market-sim-9082eb2a10f935a23e140e0089fae26570081883.tar.xz | |
added makefile (finally)
Diffstat (limited to 'src/globals.h')
| -rw-r--r-- | src/globals.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/globals.h b/src/globals.h index a926f1e..a220d79 100644 --- a/src/globals.h +++ b/src/globals.h @@ -3,11 +3,11 @@ #define ARRAYLEN(x) (sizeof(x) / sizeof(x[0])) -typedef uint64_t ullong; -typedef uint32_t ulong; -typedef uint32_t uint; -typedef uint16_t ushort; -typedef uint8_t uchar; +typedef unsigned long long ullong; +typedef unsigned long ulong; +typedef unsigned int uint; +typedef unsigned short ushort; +typedef unsigned char uchar; /* money is represented internally as cents */ struct money_t { @@ -17,7 +17,7 @@ struct money_t { struct stock_t { char *symbol; char *fullname; - ulong count; + ullong count; struct money_t current_price; }; |