We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3265ccf commit b9d598aCopy full SHA for b9d598a
mapcodelib/mapcode_fastalpha.h
@@ -37,7 +37,7 @@ static const char parentletter[MAX_CCODE + 1] =
37
7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
38
7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 0,
39
0, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
40
- 8, 0, 0, 0, 0, 0,0};
+ 8, 0, 0, 0, 0, 0, 0};
41
42
43
static const char parentnumber[MAX_CCODE + 1] =
@@ -59,7 +59,7 @@ static const char parentnumber[MAX_CCODE + 1] =
59
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
60
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3,
61
7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
62
- 0, 8, 0, 0, 0, 0,0};
+ 0, 8, 0, 0, 0, 0, 0};
63
64
#define NRTERREC 916
65
typedef struct {
unittest/README.md
@@ -7,7 +7,7 @@ To build the unit tests, execute:
7
8
(Or if you need to make sure there are no warnings:)
9
10
- gcc -Wall -O unittest.c -lm -lpthread -o unittest
+ gcc -Wall -O unittest.c -lm -lpthread -fsanitize=address -o unittest
11
12
To execute the tests, simply execute:
13
unittest/unittest.c
@@ -713,6 +713,7 @@ static int test_failing_decodes(void) {
713
"NLD ZZZ.ZZZ", // grid out of range
714
"NLD SHH.HHH", // grid out of encompassing
715
"NLD L222.222", // grid out of range (restricted)
716
+ "W9.SX94", // reported as an error case
717
0
718
};
719
int i;
0 commit comments