Commit 499a0f60 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Replace void* by grib_handle*.

parent 000aad0e
......@@ -94,7 +94,7 @@ static inline int my_grib_set_string(grib_handle* h, const char* key, const char
static inline void *gribHandleNew(int editionNumber)
{
void *gh = (void *)grib_handle_new_from_samples(NULL, (editionNumber == 1) ? "GRIB1" : "GRIB2");
grib_handle *gh = grib_handle_new_from_samples(NULL, (editionNumber == 1) ? "GRIB1" : "GRIB2");
if ( gh == NULL ) Error("grib_handle_new_from_samples failed!");
if ( editionNumber > 1 ) GRIB_CHECK(my_grib_set_long(gh, "numberOfValues", 0L), 0);
......
Markdown is supported
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