Browse Source

Round a few static string arrays up to 4 byte boundaries for ARM.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
d85b60c09b
  1. 6
      cgminer.c

6
cgminer.c

@ -213,17 +213,17 @@ const
#endif #endif
bool curses_active; bool curses_active;
static char current_block[37]; static char current_block[40];
static char *current_hash; static char *current_hash;
char *current_fullhash; char *current_fullhash;
static char datestamp[40]; static char datestamp[40];
static char blocktime[30]; static char blocktime[30];
struct timeval block_timeval; struct timeval block_timeval;
static char best_share[6]="0"; static char best_share[8] = "0";
static uint64_t best_diff = 0; static uint64_t best_diff = 0;
struct block { struct block {
char hash[37]; char hash[40];
UT_hash_handle hh; UT_hash_handle hh;
int block_no; int block_no;
}; };

Loading…
Cancel
Save