Skip to content

Commit

Permalink
Changes to quiet warnings during compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
osj1961 committed Jan 1, 2024
1 parent 968535d commit 08e257e
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/leon/src/cent.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ int main( int argc, char *argv[])
char tempArg[8], *nextChar;
enum { ELT_CENTRALIZER, ELT_CONJUGATE, GROUP_CENTRALIZER} computationType =
ELT_CENTRALIZER;
char comment[100];
char comment[1024];

/* Check whether the first parameter is conj or group. If so, a conjugacy
(rather than centralizer) or group centralizer computation will be
Expand Down
2 changes: 1 addition & 1 deletion src/leon/src/cjrndper.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ int main(
Partition *partn;
Matrix_01 *matrix, *matrixConjugated;
Code *C, *CConjugated;
char comment[255];
char comment[1024];
BOOLEAN baseSgsFlag = FALSE, imageFormatFlag = FALSE, cjperFlag = FALSE,
monomialFlag = FALSE;
UnsignedS *newCellNumber;
Expand Down
2 changes: 1 addition & 1 deletion src/leon/src/commut.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ int main( int argc, char *argv[])
commutatorName[MAX_NAME_LENGTH+1] = "";
PermGroup *G, *H, *C;
BOOLEAN imageFormatFlag = FALSE, HnotequalG, quietFlag, normalClosureFlag;
char comment[100];
char comment[1024];

/* If no arguments (except possibly -ncl) are given, provide help and exit. */
if ( argc == 1 ) {
Expand Down
2 changes: 1 addition & 1 deletion src/leon/src/desauto.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ int main( int argc, char *argv[])
char tempArg[8];
enum { DESIGN_AUTO, DESIGN_ISO, MATRIX_AUTO, MATRIX_ISO, CODE_AUTO,
CODE_ISO} computationType = DESIGN_AUTO;
char comment[100];
char comment[1024];

/* Check whether the first parameters are iso, code, or matrix.
Set the computation type. */
Expand Down
2 changes: 1 addition & 1 deletion src/leon/src/generate.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ int main( int argc, char *argv[])
noBackupFlag;
Unsigned trimStrGenSet1, trimStrGenSet2;
PermGroup *G, *containingGroup;
char comment[60] = "";
char comment[1024] = "";
UnsignedS *pointList = allocIntArrayBaseSize();
char tempStr[12];
char *strPtr, *commaPtr;
Expand Down
2 changes: 1 addition & 1 deletion src/leon/src/inter.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ int main( int argc, char *argv[])
suffix[MAX_NAME_LENGTH];
PermGroup *G, *E, *G_pP, *L = NULL;
BOOLEAN imageFlag = FALSE, imageFormatFlag = FALSE;
char comment[100];
char comment[1024];

/* Provide usage information if no options are specified. */
if ( argc == 1 ) {
Expand Down
2 changes: 1 addition & 1 deletion src/leon/src/orbdes.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ int main( int argc, char *argv[])
designFileName[MAX_FILE_NAME_LENGTH] = "",
permGroupLibraryName[MAX_NAME_LENGTH] = "",
designLibraryName[MAX_NAME_LENGTH] = "";
char comment[60];
char comment[1024];
Unsigned orbRep, i, j, pt, basePt, processed, found, img, optionCountPlus1;
char *flag;
Unsigned *pointList;
Expand Down
2 changes: 1 addition & 1 deletion src/leon/src/setstab.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ int main( int argc, char *argv[])
char tempArg[8];
enum { SET_STAB, SET_IMAGE, PARTN_STAB, PARTN_IMAGE,
UPARTN_STAB, UPARTN_IMAGE} computationType = SET_STAB;
char comment[100];
char comment[1024];

/* Check whether the first parameter is Image or (U)Partn, and if so whether
the second parameter is Image or (U)Partn. If so, a set image, partition
Expand Down
2 changes: 1 addition & 1 deletion src/leon/src/wtdist.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ int main( int argc, char *argv[])
Matrix_01 *matrix;
BOOLEAN saveCodeWords, oneCodeWordOnly, defaultForBinaryProcedure,
useBinaryProcedure = FALSE, cWtDistFlag;
char comment[100];
char comment[1024];
unsigned long *freq = malloc( (MAX_CODE_LENGTH+2) * sizeof(unsigned long));

/* Provide help if no arguments are specified. */
Expand Down

0 comments on commit 08e257e

Please sign in to comment.