]> git.ipfire.org Git - thirdparty/bind9.git/commit
636. [port] Shut up MSVC++ about a possible loss of precision
authorDavid Lawrence <source@isc.org>
Tue, 26 Dec 2000 20:18:50 +0000 (20:18 +0000)
committerDavid Lawrence <source@isc.org>
Tue, 26 Dec 2000 20:18:50 +0000 (20:18 +0000)
commit2115bc7d6433c92499d8e4f67e1c1dfa42ecd6f0
treeb5a457894345703e2d13e8b4dfaecf20ea0f3266
parent02e38214502c3a946cdfe87e16525747617a1150
 636. [port] Shut up MSVC++ about a possible loss of precision
in the ISC__BUFFER_PUTUINT*() macros. [RT #592]

This is the basically the same change made to buffer.c before the macros
were created:

   revision 1.18
   date: 1999/09/23 17:54:57;  author: tale;  state: Exp;  lines: +4 -4
   Shut up MSVC++ compiler warning about loss of precision when assigning
   8 bits masked out of a 32 bit int to individual bytes.

Also, an #if 0 around "#define ISC_BUFFER_USEINLINE" was removed, per the
ISC coding style, and instead a comment was used to disable the definition.
CHANGES