aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-03-19 10:32:23 -0700
committerChristian Cunningham <cc@localhost>2022-03-19 10:32:23 -0700
commit1c86a79efa3b5ad7cedfffb39faf7967a1ca4702 (patch)
treeade280e2ce92bf8ab647a0091d7575ddc41a0b2f /src/util
parent8e475d7e3d540a6d4ea244e38fcfb74179349326 (diff)
Fixed Warnings
Diffstat (limited to 'src/util')
-rw-r--r--src/util/mutex.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util/mutex.c b/src/util/mutex.c
index 0a47a35..a60cea6 100644
--- a/src/util/mutex.c
+++ b/src/util/mutex.c
@@ -1,4 +1,5 @@
#include <cpu.h>
+#include <drivers/uart.h>
#include <util/mutex.h>
#include <util/lock.h>
#include <globals.h>
@@ -59,11 +60,11 @@ void uart_mutexes(void)
while (entry->entry_type == VALUE_ENTRY)
{
struct Mutex* m = entry->value;
- uart_hex(m);
+ uart_hex((unsigned long)m);
uart_char(' ');
uart_hex(m->pid);
uart_char(' ');
- uart_hexn(m->addr);
+ uart_hexn((unsigned long)m->addr);
entry = entry->next;
}
}