]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Silence compile error 1796/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Tue, 27 Oct 2015 10:43:38 +0000 (11:43 +0100)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Tue, 27 Oct 2015 10:43:38 +0000 (11:43 +0100)
source/multigrid/mg_transfer_prebuilt.cc

index 61253f6ae15d19e27ccb8e45d2e530ce90894d5b..823ab0cb8ca4f6075c487a3bb90f030ec4a35bc9 100644 (file)
@@ -436,7 +436,7 @@ MGTransferPrebuilt<VECTOR>::fill_and_communicate_copy_indices(
               }
 
             int count = len / sizeof(DoFPair);
-            Assert(count * sizeof(DoFPair) == len, ExcInternalError());
+            Assert(static_cast<int>(count * sizeof(DoFPair)) == len, ExcInternalError());
             receive_buffer.resize(count);
 
             void *ptr = &receive_buffer[0];

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.