Commit 8aa17d43 authored by berenger-bramas's avatar berenger-bramas
Browse files

Make the serialization of test cell on the long long int type instead of long.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/scalfmm/scalfmm/trunk@268 2616d619-271b-44dc-8df4-d4a8f33a7222
parent 253e48bd
...@@ -290,7 +290,7 @@ public: ...@@ -290,7 +290,7 @@ public:
this->dataUp = *(long long int*)buffer; this->dataUp = *(long long int*)buffer;
} }
static const int SerializedSizeDown = sizeof(long); static const int SerializedSizeDown = sizeof(long long int);
void serializeDown(void* const buffer) const { void serializeDown(void* const buffer) const {
*(long long int*)buffer = this->dataDown; *(long long int*)buffer = this->dataDown;
} }
......
...@@ -82,7 +82,7 @@ public: ...@@ -82,7 +82,7 @@ public:
this->dataUp = *(long long int*)buffer; this->dataUp = *(long long int*)buffer;
} }
static const int SerializedSizeDown = sizeof(long); static const int SerializedSizeDown = sizeof(long long int);
void serializeDown(void* const buffer) const { void serializeDown(void* const buffer) const {
*(long long int*)buffer = this->dataDown; *(long long int*)buffer = this->dataDown;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment