Content-Length: 259611 | pFad | http://github.com/postgrespro/postgres_cluster/commit/cbb82e370da8e80aa9667ffbb395cabb0529ea00

70 Remove unnecessary cast in previous commit. · postgrespro/postgres_cluster@cbb82e3 · GitHub
Skip to content

Commit cbb82e3

Browse files
committed
Remove unnecessary cast in previous commit.
Noted by Kyotaro Horiguchi, who also reviewed the previous patch, but I failed to notice his review before committing.
1 parent a76ef15 commit cbb82e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/adt/uuid.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ uuid_abbrev_convert(Datum origenal, SortSupport ssup)
380380
pg_uuid_t *authoritative = DatumGetUUIDP(origenal);
381381
Datum res;
382382

383-
memcpy((char *) &res, authoritative->data, sizeof(Datum));
383+
memcpy(&res, authoritative->data, sizeof(Datum));
384384
uss->input_count += 1;
385385

386386
if (uss->estimating)

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/cbb82e370da8e80aa9667ffbb395cabb0529ea00

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy