From 8042b168c27924babeb6130c446de3fbdf5fec97 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Tue, 27 Oct 2015 11:43:38 +0100 Subject: [PATCH] Silence compile error --- source/multigrid/mg_transfer_prebuilt.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.39.5