]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
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)
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

diff --git a/CHANGES b/CHANGES
index 4ee72341f1c36154cf528e6252508ae86db3105b..f8828bb7fff9f3afb99c46a5a9893bf64f2d877f 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,7 @@
 
+ 636.  [port]          Shut up MSVC++ about a possible loss of precision
+                       in the ISC__BUFFER_PUTUINT*() macros. [RT #592]
+
  635.  [bug]           Reloading a server with a configured blackhole list
                        would cause an assertion. [RT #590]