From ba91a6074ae0b7baebdef1458fbf5b6351a763f2 Mon Sep 17 00:00:00 2001 From: rlar Date: Fri, 16 Jul 2010 15:42:46 +0000 Subject: [PATCH] add a missing `const' qualifier --- ChangeLog | 4 ++++ src/xspice/icm/analog/multi_input_pwl/cfunc.mod | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4fda9bc39..86e96c291 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-07-16 Robert Larice + * src/xspice/icm/analog/multi_input_pwl/cfunc.mod : + add a missing `const' qualifier + 2010-07-16 Robert Larice * src/xspice/icm/digital/d_fdiv/cfunc.mod : xspice, digital/d_fdiv, fix the type of counter and counter_old diff --git a/src/xspice/icm/analog/multi_input_pwl/cfunc.mod b/src/xspice/icm/analog/multi_input_pwl/cfunc.mod index 29ee6dd72..25693c1e2 100644 --- a/src/xspice/icm/analog/multi_input_pwl/cfunc.mod +++ b/src/xspice/icm/analog/multi_input_pwl/cfunc.mod @@ -173,7 +173,7 @@ get_output( ARGS, double x ) void cm_multi_input_pwl(ARGS) { - char* model = ( PARAM_NULL(model) == 1 ) ? "and" : PARAM(model); + const char* model = ( PARAM_NULL(model) == 1 ) ? "and" : PARAM(model); double output; if ( ANALYSIS == TRANSIENT || ANALYSIS == DC )