Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ uuid_abbrev_convert(Datum original, SortSupport ssup)
380380
pg_uuid_t *authoritative = DatumGetUUIDP(original);
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)