pkgsrc/ham/xlog/patches/patch-src_dxcc_c
mef 5a043de927 (upstream) update 2.0.5 to 2.0.12
- 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.
2014-12-15 08:36:40 +00:00

15 lines
548 B
Text

$NetBSD: patch-src_dxcc_c,v 1.1 2014/12/15 08:36:40 mef Exp $
error: array subscript has type 'char' [-Werror=char-subscripts]
--- src/dxcc.c~ 2013-11-11 13:21:26.000000000 +0900
+++ src/dxcc.c 2014-11-18 09:11:46.000000000 +0900
@@ -520,7 +520,7 @@ readctydata (void)
{
for (i=0; i<strlen(split[7]); i++)
{
- tmp[i] = toupper(split[7][i]);
+ tmp[i] = toupper((unsigned char) split[7][i]);
}
tmp[i] = '\0';
g_hash_table_insert (prefixes, g_strdup (tmp), GINT_TO_POINTER (programstate.countries));