5a043de927
- Changes for xlog version 2.0.12 - 2014-apr-01 * Updated cty.dat to 20140331 (cty-2404) - Changes for xlog version 2.0.11 - 2013-nov-16 * Updated cty.dat to 20131009 * Fixed "Write and Click All" * Increased log name limit to 30 characters * Fixed truncated "QSO <number>" label in main window * Fixed dxcc 3 character callsigns - Changes for xlog version 2.0.10 - 2013-July-22 * Fix compilation warning in labels.c regarding strptime * Convert all compilation warnings into errors * Get rid of the "unused-but-set-variable" warnings - Changes for xlog version 2.0.9 - 2013-July-20 * Fix month to number conversion for non-English languages in Cabrillo export (thank you Alex EW1LN for reporting the problem and testing the fix) * Modify date in TSV file to be ISO 8601 format to aid in spreadsheet import * Updated cty.dat to 20130625 - Changes for xlog version 2.0.8 - 2013-May-23 * Fix Debian lint issue (config.sub config.guess) * Merge Debian bug #617374 fix into dxcc.c to avoid segfault * Fix cabrillo import - incorporate patch from Thomas (DL1JBE) Beierlein * Updated cty.dat to 20130510 - Changes for xlog version 2.0.7 - 2013-March-31 * Fixed remarks box for Unity et al (bug #38637) * Updated cty.dat to 20130312 (CTY-2303) - Changes for xlog version 2.0.6 - 2013-March-01 * First version with new maintainer: Andy Stewart, KB1OIQ * Updated to Cabrillo v3 format - export and import (bug #37740) * Added preference setting for "Are You Sure" dialog on exit (bug #37761) * Updated cty.dat to 20130222 (CTY-2302) (bug #37748) * Updated to Amateur Data Interchange Format (ADIF) 2.2.7 format (bug #37741) ** Added a large number(!) of modes ** Added the 560m band * Fixed cosmetic issues with the scoring window (bug #37743) * Fixed Ubuntu bug #608718: Keyer window displayed, hitting return in RX(RST) with no call logged bogus QSO. * Fixed Task #10916 - user preference to save Cabrillo freq or band * New manual from Chris Story (K6RWJ) * Entering "callsigns" like "3D2/R" will show proper DXCC entity in scoring window locator box for all except WAE countries.
35 lines
1.4 KiB
Text
35 lines
1.4 KiB
Text
$NetBSD: patch-src_callbacks_mainwindow_qsoframe_c,v 1.1 2014/12/15 08:36:40 mef Exp $
|
|
|
|
error: array subscript has type 'char' [-Werror=char-subscripts]
|
|
|
|
--- src/callbacks_mainwindow_qsoframe.c~ 2012-11-04 00:46:05.000000000 +0900
|
|
+++ src/callbacks_mainwindow_qsoframe.c 2014-11-18 09:09:57.000000000 +0900
|
|
@@ -111,11 +111,11 @@ void
|
|
on_callentry_insert_text (GtkEditable * editable, gchar * new_text,
|
|
gint new_text_length, gpointer position, gpointer user_data)
|
|
{
|
|
- gint i;
|
|
+ unsigned int i;
|
|
gchar *result = g_new (gchar, new_text_length);
|
|
|
|
for (i = 0; i < new_text_length; i++)
|
|
-result[i] = islower (new_text[i]) ? toupper (new_text[i]) : new_text[i];
|
|
+ result[i] = islower ((unsigned int) new_text[i]) ? toupper ((unsigned int) new_text[i]) : new_text[i];
|
|
|
|
/* insert the new callsign and block insert_text, so we don't call this twice */
|
|
g_signal_handlers_block_by_func
|
|
@@ -132,11 +132,12 @@ void
|
|
on_awardsentry_insert_text (GtkEditable * editable, gchar * new_text,
|
|
gint new_text_length, gpointer position, gpointer user_data)
|
|
{
|
|
- gint i;
|
|
+ unsigned int i;
|
|
gchar *result = g_new (gchar, new_text_length);
|
|
|
|
for (i = 0; i < new_text_length; i++)
|
|
-result[i] = islower (new_text[i]) ? toupper (new_text[i]) : new_text[i];
|
|
+ result[i] = islower ((unsigned char) new_text[i]) ?
|
|
+ toupper ((unsigned char) new_text[i]) : new_text[i];
|
|
|
|
g_signal_handlers_block_by_func
|
|
(GTK_OBJECT (editable), on_awardsentry_insert_text, user_data);
|