diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2017-03-28 13:16:19 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2017-03-28 13:16:19 -0400 |
commit | 8433e0b40e0d840b8daa80eb9788fafcf2dc5aab (patch) | |
tree | a56319306d54cd41e7b26c45f12355967c57c821 /src/backend/access/transam/parallel.c | |
parent | c804c00d38f6a848f0d7e57a05ea5468fc5762b2 (diff) | |
download | postgresql-8433e0b40e0d840b8daa80eb9788fafcf2dc5aab.tar.gz postgresql-8433e0b40e0d840b8daa80eb9788fafcf2dc5aab.zip |
Suppress implicit-conversion warnings seen with newer clang versions.
We were assigning values near 255 through "char *" pointers. On machines
where char is signed, that's not entirely kosher, and it's reasonable
for compilers to warn about it.
A better solution would be to change the pointer type to "unsigned char *",
but that would be vastly more invasive. For the moment, let's just apply
this simple backpatchable solution.
Aleksander Alekseev
Discussion: https://postgr.es/m/20170220141239.GD12278@e733.localdomain
Discussion: https://postgr.es/m/2839.1490714708@sss.pgh.pa.us
Diffstat (limited to 'src/backend/access/transam/parallel.c')
0 files changed, 0 insertions, 0 deletions