Skip to content

Commit 62bd42d

Browse files
Fix Ubuntu 26.04 build warning
Add "const" qualifier to "dbPos" string variable
2 parents 09a4ef8 + a3168ed commit 62bd42d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ptrack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ ptrack_copydir_hook(const char *path)
221221
}
222222
else if (strstr(path, "pg_tblspc/") == path)
223223
{
224-
char *dbPos;
224+
const char *dbPos;
225225

226226
oidchars = strspn(path + 10, "0123456789");
227227
strncpy(oidbuf, path + 10, oidchars);

0 commit comments

Comments
 (0)