projects
/
emu8051.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix C99 standard types uintN_t
[emu8051.git]
/
src
/
common
/
psw.c
diff --git
a/src/common/psw.c
b/src/common/psw.c
index
cee09f5
..
36ab5e2
100644
(file)
--- a/
src/common/psw.c
+++ b/
src/common/psw.c
@@
-20,7
+20,7
@@
psw_read_bit(int bit)
void
psw_write_bit(int bit, int val)
{
- u
_
int8_t psw = mem_read8(INT_MEM_ID, _PSW_);
+ uint8_t psw = mem_read8(INT_MEM_ID, _PSW_);
if (val)
psw |= (1 << bit); /* Set */