summaryrefslogtreecommitdiffstats
path: root/src/devices/machine/timehelp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/timehelp.h')
-rw-r--r--src/devices/machine/timehelp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/timehelp.h b/src/devices/machine/timehelp.h
index 38adfdee502..fa779031344 100644
--- a/src/devices/machine/timehelp.h
+++ b/src/devices/machine/timehelp.h
@@ -16,17 +16,17 @@
class time_helper
{
public:
- static inline UINT8 make_bcd(UINT8 data)
+ static inline uint8_t make_bcd(uint8_t data)
{
return (((data / 10) % 10) << 4) + (data % 10);
}
- static inline UINT8 from_bcd(UINT8 data)
+ static inline uint8_t from_bcd(uint8_t data)
{
return (((data >> 4) & 15) * 10) + (data & 15);
}
- static int inc_bcd(UINT8 *data, int mask, int min, int max)
+ static int inc_bcd(uint8_t *data, int mask, int min, int max)
{
int bcd = (*data + 1) & mask;
int carry = 0;