diff options
author | rbuj <[email protected]> | 2021-12-22 07:06:09 +0100 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2022-03-22 16:15:20 -0400 |
commit | 394bb344739e947cfde70a487358728fb4ca26a2 (patch) | |
tree | 6460972879eebc6b0f12c774ddba5b515f94fdcc /src/terminal-encoding.c | |
parent | f8e7da39c14cb94714e00b25ec5f3fcc8f0de6fd (diff) | |
download | mate-terminal-394bb344739e947cfde70a487358728fb4ca26a2.tar.bz2 mate-terminal-394bb344739e947cfde70a487358728fb4ca26a2.tar.xz |
Fix implicit conversion changes signedness: 'gboolean' to 'guint'
Diffstat (limited to 'src/terminal-encoding.c')
-rw-r--r-- | src/terminal-encoding.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/terminal-encoding.c b/src/terminal-encoding.c index 36b9aca..a470c99 100644 --- a/src/terminal-encoding.c +++ b/src/terminal-encoding.c @@ -159,8 +159,8 @@ terminal_encoding_new (const char *charset, encoding->refcount = 1; encoding->id = g_strdup (charset); encoding->name = g_strdup (display_name); - encoding->valid = encoding->validity_checked = force_valid; - encoding->is_custom = is_custom; + encoding->valid = encoding->validity_checked = (force_valid != FALSE); + encoding->is_custom = (is_custom != FALSE); encoding->is_active = FALSE; return encoding; |