c9ad13b92e344edb3df4cef62781b2c7ecff1de5
galt
  Tue Dec 31 23:59:02 2024 -0800
minor compiler fix for hgNibSeq.

diff --git src/hg/makeDb/hgNibSeq/hgNibSeq.c src/hg/makeDb/hgNibSeq/hgNibSeq.c
index 3f82da7..bae864b 100644
--- src/hg/makeDb/hgNibSeq/hgNibSeq.c
+++ src/hg/makeDb/hgNibSeq/hgNibSeq.c
@@ -44,31 +44,31 @@
     "%s\n"
     ")\n";
 
 void createTable(struct sqlConnection *conn)
 /* Make table. */
 {
 struct dyString *dy = dyStringNew(512);
 sqlDyStringPrintf(dy, createSql, tableName, tableIndex);
 sqlRemakeTable(conn, tableName, dy->string);
 dyStringFree(&dy);
 }
 
 void hgNibSeq(char *database, char *destDir, int faCount, char *faNames[])
 /* hgNibSeq - convert DNA to nibble-a-base and store location in database. */
 {
-char dir[256], name[128], chromName[128], ext[64];
+char dir[PATH_LEN], name[FILENAME_LEN], chromName[128], ext[FILEEXT_LEN];
 char nibName[512];
 struct sqlConnection *conn = sqlConnect(database);
 char query[512];
 int i;
 char *faName;
 struct dnaSeq *seq = NULL;
 unsigned long total = 0;
 int size;
 
 if (!strchr(destDir, '/'))
    errAbort("Use full path name for nib file dir\n");
 
 makeDir(destDir);
 if ((!appendTbl) || !sqlTableExists(conn, tableName))
     createTable(conn);