summaryrefslogtreecommitdiff
path: root/src/erasurecode_preprocessing.c
diff options
context:
space:
mode:
authorTushar Gohad <tushar.gohad@intel.com>2014-07-18 09:37:40 -0700
committerTushar Gohad <tushar.gohad@intel.com>2014-07-18 09:37:40 -0700
commit19cd7d3b4960b8f28258e36fe2a42e8301b3c358 (patch)
tree93a9447854b92563b2577a21e650a4760a43b844 /src/erasurecode_preprocessing.c
parent6ad997f1c7055b66282b9c816c6871383f70bdd2 (diff)
downloadliberasurecode-19cd7d3b4960b8f28258e36fe2a42e8301b3c358.tar.gz
Make int types consistent across API
Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
Diffstat (limited to 'src/erasurecode_preprocessing.c')
-rw-r--r--src/erasurecode_preprocessing.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/erasurecode_preprocessing.c b/src/erasurecode_preprocessing.c
index f5a0e49..cf7ef61 100644
--- a/src/erasurecode_preprocessing.c
+++ b/src/erasurecode_preprocessing.c
@@ -255,7 +255,9 @@ int get_fragment_partition(
return (num_missing > m) ? 1 : 0;
}
-int fragments_to_string(int k, int m, char **fragments, int num_fragments, char **orig_payload, int *payload_len)
+int fragments_to_string(int k, int m,
+ char **fragments, int num_fragments,
+ char **orig_payload, uint64_t *payload_len)
{
char *internal_payload = NULL;
char **data = NULL;