
# HG changeset patch # User Dan Smith <danms@us.ibm.com> # Date 1202923672 28800 # Node ID 460476bb31d6d3d2e400396e3797cfc6697744fd # Parent be18b4c2084a6b2b1f1c3a1cdae25a98034d7d54 Fix misplaced const This causes a warning on some versions of GCC because we're passing in the inst to be modified, which means it can't be const. Not sure why more GCC versions aren't catching this, but it needs to be fixed. Signed-off-by: Dan Smith <danms@us.ibm.com> diff -r be18b4c2084a -r 460476bb31d6 src/Virt_VSMigrationService.c --- a/src/Virt_VSMigrationService.c Tue Feb 12 15:39:52 2008 -0800 +++ b/src/Virt_VSMigrationService.c Wed Feb 13 09:27:52 2008 -0800 @@ -269,7 +269,7 @@ static bool raise_indication(const CMPIC const char *base_type, const char *ns, CMPIInstance *inst, - const CMPIInstance *ind) + CMPIInstance *ind) { char *type; CMPIStatus s;