From: John Darrington <john@darrington.wattle.id.au>
Date: Sat, 29 Jun 2019 06:06:11 +0000 (+0200)
Subject: PsppireDict: Constness
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7415829bfc8db32fa61caf387b5af934d02422e0;p=pspp

PsppireDict: Constness
---

diff --git a/src/ui/gui/psppire-dict.c b/src/ui/gui/psppire-dict.c
index 84a89527e8..6331b668c1 100644
--- a/src/ui/gui/psppire-dict.c
+++ b/src/ui/gui/psppire-dict.c
@@ -379,7 +379,7 @@ psppire_dict_new_from_dict (struct dictionary *d)
 void
 psppire_dict_replace_dictionary (PsppireDict *dict, struct dictionary *d)
 {
-  struct variable *var =  dict_get_weight (d);
+  const struct variable *var =  dict_get_weight (d);
 
   struct dictionary *old_dict = dict->dict;