Skip to content

Commit

Permalink
Fix clang compilation fail, github issue #22 reported by ksdd.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsyrogit committed Aug 29, 2018
1 parent 3218efa commit 61aa203
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions zxcvbn.c
Original file line number Diff line number Diff line change
Expand Up @@ -934,8 +934,9 @@ typedef struct
int Shifts;
} SpatialMatchInfo_t;

/* Shift mapping, characters in pairs: first is shifted, second un-shifted. */
static const uint8_t UK_Shift[] = "!1\"2$4%5&7(9)0*8:;<,>.?/@'AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz^6_-{[|\\}]~#€4£3¬`";
/* Shift mapping, characters in pairs: first is shifted, second un-shifted. Ordered for increasing shifted character code.*/
/* Note: on a UK keyboard \243 is the £ (Pound stirling), \244 is the ¤ (Euro), \254 is the ¬ (Not sign) */
static const uint8_t UK_Shift[] = "!1\"2$4%5&7(9)0*8:;<,>.?/@'AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz^6_-{[|\\}]~#\2433\2444\254`";
static const uint8_t US_Shift[] = "!1\"'#3$4%5&7(9)0*8:;<,>.?/@2AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz^6_-{[|\\}]~`";


Expand Down

0 comments on commit 61aa203

Please sign in to comment.