make mapDBFToDBR[] const

This commit is contained in:
Michael Davidsaver
2023-06-13 08:18:12 -07:00
parent 5a1f3ecc8b
commit 4ecc0daa79
+1 -1
View File
@@ -73,7 +73,7 @@ epicsExportAddress(int, dbAccessDebugPUTF);
DB_LOAD_RECORDS_HOOK_ROUTINE dbLoadRecordsHook = NULL;
static short mapDBFToDBR[DBF_NTYPES] = {
static const short mapDBFToDBR[DBF_NTYPES] = {
/* DBF_STRING => */ DBR_STRING,
/* DBF_CHAR => */ DBR_CHAR,
/* DBF_UCHAR => */ DBR_UCHAR,