Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change type of adios2_local_value_dim to size_t #2730

Merged
merged 1 commit into from
May 29, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions bindings/C/adios2/c/adios2_c_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@
#ifndef ADIOS2_BINDINGS_C_ADIOS2_C_TYPES_H_
#define ADIOS2_BINDINGS_C_ADIOS2_C_TYPES_H_

#include <limits.h> // ULLONG_MAX
#include <stddef.h> // size_t
#include <stdint.h> // uint64_t
#include <stdint.h> // SIZE_MAX

#include "adios2/common/ADIOSConfig.h"

Expand Down Expand Up @@ -141,7 +140,7 @@ typedef enum

static const size_t adios2_string_array_element_max_size = 4096;

static const uint64_t adios2_local_value_dim = ULLONG_MAX - 2;
static const size_t adios2_local_value_dim = SIZE_MAX - 2;

#ifdef __cplusplus
} // end extern C
Expand Down