From 3de2f9db98e9f86bde33d4f32bf87842b18e87dc Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Sat, 19 May 2007 13:32:58 +0000 Subject: [PATCH] Constify to please gcc 4.2. --- sys/arm/arm/machdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm/arm/machdep.c b/sys/arm/arm/machdep.c index c1aec6c9b8a3..39855112a1ba 100644 --- a/sys/arm/arm/machdep.c +++ b/sys/arm/arm/machdep.c @@ -547,7 +547,7 @@ int set_mcontext(struct thread *td, const mcontext_t *mcp) { struct trapframe *tf = td->td_frame; - __greg_t *gr = mcp->__gregs; + const __greg_t *gr = mcp->__gregs; tf->tf_r0 = gr[_REG_R0]; tf->tf_r1 = gr[_REG_R1];