From 1bb97e8000133bf426254ecf337b8a237bde028c Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 23 Nov 2017 17:01:40 +1100 Subject: [PATCH] silence compiler warning [RT #46471] --- lib/isc/include/isc/buffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/isc/include/isc/buffer.h b/lib/isc/include/isc/buffer.h index 05ae56950d..a236ad9fa4 100644 --- a/lib/isc/include/isc/buffer.h +++ b/lib/isc/include/isc/buffer.h @@ -796,7 +796,7 @@ ISC_LANG_ENDDECLS do { \ unsigned int _length; \ unsigned char *_cp; \ - _length = strlen(_source); \ + _length = (unsigned int)strlen(_source); \ _cp = isc_buffer_used(_b); \ memmove(_cp, (_source), _length); \ (_b)->used += (_length); \