[HACKERS] Fix warnings and typo in dshash

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема [HACKERS] Fix warnings and typo in dshash
Дата
Msg-id CAA4eK1+5vfVMYtjK_NX8O3-42yM3o80qdqWnQzGquPrbq6mb+A@mail.gmail.com
обсуждение исходный текст
Ответы Re: [HACKERS] Fix warnings and typo in dshash  (Thomas Munro <thomas.munro@enterprisedb.com>)
Re: [HACKERS] Fix warnings and typo in dshash  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I am seeing below warnings (on Win7) in dshash.c

1>  dshash.c
1>src/backend/lib/dshash.c(318): warning C4334: '<<' : result of
32-bit shift implicitly converted to 64 bits (was 64-bit shift
intended?)
1>src/backend/lib/dshash.c(679): warning C4334: '<<' : result of
32-bit shift implicitly converted to 64 bits (was 64-bit shift
intended?)
1>src/backend/lib/dshash.c(713): warning C4334: '<<' : result of
32-bit shift implicitly converted to 64 bits (was 64-bit shift
intended?)

Attached a patch to fix the above warning.

I have noticed a typo in dshash.h for which a separate patch is attached.


-- 
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: [HACKERS] JIT & function naming
Следующее
От: Konstantin Knizhnik
Дата:
Сообщение: Re: [HACKERS] JIT & function naming