Skip to content

Commit

Permalink
libskk: avoid unwanted ulong -> uint cast
Browse files Browse the repository at this point in the history
  • Loading branch information
ueno committed Jun 15, 2012
1 parent cf65fb2 commit a95245a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions libskk/rule.vala
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,10 @@ namespace Skk {

KeyEventFilter? filter;

static Map<string,Type> filter_types =
new HashMap<string,Type> ();
// Make the value type boxed to avoid unwanted ulong -> uint cast:
// https://bugzilla.gnome.org/show_bug.cgi?id=660621
static Map<string,Type?> filter_types =
new HashMap<string,Type?> ();

static construct {
rules_path = Util.build_data_path ("rules");
Expand Down

0 comments on commit a95245a

Please sign in to comment.