[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tyndur-devel] [PATCH 06/11] pointer: nicht von festen Größen für Pointer ausgehen
Signed-off-by: Andreas Freimuth <m.nemo@xxxxxxx>
--HG--
extra : rebase_source : 35224a9aa9efa98681cace02bdd1415f1ed485dc
---
src/kernel2/src/interrupts/im.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/kernel2/src/interrupts/im.c b/src/kernel2/src/interrupts/im.c
index 9923b7a..ce0d2c4 100644
--- a/src/kernel2/src/interrupts/im.c
+++ b/src/kernel2/src/interrupts/im.c
@@ -253,7 +253,7 @@ interrupt_stack_frame_t* im_prepare_current_thread(void)
*/
static void on_process_destroy(pm_process_t* process, void* prv)
{
- uint32_t intr = (uint32_t) prv;
+ uint32_t intr = (uintptr_t) prv;
if (intr >= IM_NUM_INTERRUPTS) {
panic("im.c: on_process_destroy(): Korrupte Interruptnummer %d", intr);
--
1.7.3.4