diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-04-11 13:51:38 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-04-11 13:51:38 +0200 |
commit | 37d36fdd7f441aa184c4051d02e50e9e770f20f8 (patch) | |
tree | ddcf8928dfcdebf4f029509c6bf2c62a8d294c1d /sys/src/9/bcm/vcore.c | |
parent | 753fa51b77869eadcc27c00df34f09c3c9239fe2 (diff) |
kernel: get rid of PTR2UINT() and UINT2PTR() macros
Diffstat (limited to 'sys/src/9/bcm/vcore.c')
-rw-r--r-- | sys/src/9/bcm/vcore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/bcm/vcore.c b/sys/src/9/bcm/vcore.c index f939787b4..7c3f525e2 100644 --- a/sys/src/9/bcm/vcore.c +++ b/sys/src/9/bcm/vcore.c @@ -149,7 +149,7 @@ vcreq(int tag, void *buf, int vallen, int rsplen) memmove(prop->data, buf, vallen); cachedwbinvse(prop, prop->len); for(;;){ - aprop = busaddr? dmaaddr(prop) : PTR2UINT(prop); + aprop = busaddr? dmaaddr(prop) : (uintptr)prop; vcwrite(ChanProps, aprop); r = vcread(ChanProps); if(r == aprop) |