[CRIU] [PATCH 3/3] arm: fix without typecast error
Chanho Park
chanho61.park at samsung.com
Thu May 30 04:57:13 EDT 2013
This patch fixes below typecast error:
error: assignment makes integer from pointer without a cast [-Werror]
Signed-off-by: Chanho Park <chanho61.park at samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham at samsung.com>
---
arch/arm/crtools.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/crtools.c b/arch/arm/crtools.c
index 9495448..a3e4bca 100644
--- a/arch/arm/crtools.c
+++ b/arch/arm/crtools.c
@@ -40,7 +40,7 @@ void parasite_setup_regs(unsigned long new_ip, void *stack, user_regs_struct_t *
{
regs->ARM_pc = new_ip;
if (stack)
- regs->ARM_sp = stack;
+ regs->ARM_sp = (unsigned long)stack;
/* Avoid end of syscall processing */
regs->ARM_ORIG_r0 = -1;
--
1.7.9.5
More information about the CRIU
mailing list