Commit cef70794 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cgribexlib update

parent 6260d66d
/* Automatically generated by m214003 at 2010-01-07, do not edit */
/* Automatically generated by m214003 at 2010-01-08, do not edit */
/* CGRIBEXLIB_VERSION="1.4.2" */
......@@ -4790,7 +4790,7 @@ int decodeBDS(int decscale, unsigned char *bds, int *isec2, int *isec4,
*/
/* ISEC4_NumValues = GET_UINT3(bds[17],bds[18],bds[19])*8/ISEC4_NumBits;*/
if ( gribrec_len(bds[14], bds[15], bds[16]) > JP23SET )
len = ((size_t) ((bds[17]<<16)+(bds[18]<<16)+(bds[19]<<8)+bds[20]));
len = ((size_t) ((bds[17]<<24)+(bds[18]<<16)+(bds[19]<<8)+bds[20]));
else
len = ((size_t) ((bds[17]<<16)+(bds[18]<<8)+bds[19]));
......@@ -8949,7 +8949,7 @@ int gribUnzip(unsigned char *dbuf, long dbufsize, unsigned char *sbuf, long sbu
source = (char *) bds + datstart + bds_zoffset;
if ( llarge )
sourceLen = ((size_t) ((bds[21]<<16)+(bds[22]<<16)+(bds[23]<<8)+bds[24]));
sourceLen = ((size_t) ((bds[21]<<24)+(bds[22]<<16)+(bds[23]<<8)+bds[24]));
else
sourceLen = ((size_t) ((bds[20]<<16)+(bds[21]<<8)+bds[22]));
......@@ -8962,7 +8962,7 @@ int gribUnzip(unsigned char *dbuf, long dbufsize, unsigned char *sbuf, long sbu
dest = (char *) bds + datstart;
if ( llarge )
destLen = ((size_t) ((bds[17]<<16)+(bds[18]<<16)+(bds[19]<<8)+bds[20]));
destLen = ((size_t) ((bds[17]<<24)+(bds[18]<<16)+(bds[19]<<8)+bds[20]));
else
destLen = ((size_t) ((bds[17]<<16)+(bds[18]<<8)+bds[19]));
......@@ -9114,7 +9114,7 @@ int gribUnzip(unsigned char *dbuf, long dbufsize, unsigned char *sbuf, long sbu
return (gribLen);
}
static const char grb_libvers[] = "1.4.2" " of ""Jan 7 2010"" ""13:59:13";
static const char grb_libvers[] = "1.4.2" " of ""Jan 8 2010"" ""13:31:36";
const char *
cgribexLibraryVersion(void)
{
......
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