From: Martin Kronbichler Date: Tue, 27 Oct 2015 10:43:38 +0000 (+0100) Subject: Silence compile error X-Git-Tag: v8.4.0-rc2~275^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8042b168c27924babeb6130c446de3fbdf5fec97;p=dealii.git Silence compile error --- diff --git a/source/multigrid/mg_transfer_prebuilt.cc b/source/multigrid/mg_transfer_prebuilt.cc index 61253f6ae1..823ab0cb8c 100644 --- a/source/multigrid/mg_transfer_prebuilt.cc +++ b/source/multigrid/mg_transfer_prebuilt.cc @@ -436,7 +436,7 @@ MGTransferPrebuilt::fill_and_communicate_copy_indices( } int count = len / sizeof(DoFPair); - Assert(count * sizeof(DoFPair) == len, ExcInternalError()); + Assert(static_cast(count * sizeof(DoFPair)) == len, ExcInternalError()); receive_buffer.resize(count); void *ptr = &receive_buffer[0];