bytea *bit = PG_GETARG_BYTEA_P(0);
if (VARSIZE_ANY_EXHDR(bit) != 16) {
- elog(ERROR, "invalid length of bytea for cast to uuid, need 16, attempted %d", VARSIZE_ANY_EXHDR(bit));
+ elog(ERROR, "invalid length of bytea for cast to uuid, need 16, attempted %ld", VARSIZE_ANY_EXHDR(bit));
}
uuid = palloc(UUID_LEN_BIN);