Skip to content

Commit

Permalink
Change non-standard and non-Gnome uint to guint.
Browse files Browse the repository at this point in the history
  • Loading branch information
jralls committed Dec 13, 2020
1 parent fd8f95f commit f2f1e98
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gnucash/import-export/aqb/gnc-flicker-gui.c
Expand Up @@ -89,7 +89,7 @@ static GncFlickerGui *flickergui = NULL;
static _Bool bitarray[255][5];

/* this function will return number corresponding 0,1,2..,9,A,B,C,D,E,F */
static uint
static guint
get_num (const char ch)
{
int num =0;
Expand Down Expand Up @@ -137,10 +137,10 @@ static char

/* Swap the position of the bits in pairs throughout the bank challenge
(low-order nibble first). */
for (uint i = 0; i < len - 1; i += 2)
for (guint i = 0; i < len - 1; i += 2)
{
u_int val1 = get_num (code[i]);
u_int val2 = get_num (code[i+1]);
guint val1 = get_num (code[i]);
guint val2 = get_num (code[i+1]);

memcpy (&bitarray[i], bits[val2], sizeof(bits[val2]));
memcpy (&bitarray[i+1], bits[val1], sizeof(bits[val1]));
Expand Down

0 comments on commit f2f1e98

Please sign in to comment.