mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Fix a bunch of sign conversion warnings from ncgen.y
This commit is contained in:
parent
6c249365f0
commit
c80d71213d
@ -4,6 +4,7 @@
|
||||
* $Header: /upc/share/CVS/netcdf-3/ncgen3/init.c,v 1.6 1997/05/23 11:41:14 russ Exp $
|
||||
*********************************************************************/
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
#include <netcdf.h>
|
||||
#include "generic.h"
|
||||
@ -23,7 +24,7 @@ int natts; /* number of attributes */
|
||||
int nvdims; /* number of dimensions for variables */
|
||||
int dimnum; /* dimension number index for variables */
|
||||
int varnum; /* variable number index for attributes */
|
||||
int valnum; /* value number index for attributes */
|
||||
size_t valnum; /* value number index for attributes */
|
||||
int rec_dim; /* number of the unlimited dimension, if any */
|
||||
size_t var_len; /* variable length (product of dimensions) */
|
||||
size_t rec_len; /* number of elements for a record of data */
|
||||
|
@ -6,6 +6,7 @@
|
||||
* $Header: /upc/share/CVS/netcdf-3/ncgen3/ncgen.h,v 1.8 1997/07/07 18:27:04 russ Exp $
|
||||
*********************************************************************/
|
||||
|
||||
#include <stddef.h>
|
||||
#define MAX_NC_ATTSIZE 20000 /* max size of attribute (for ncgen) */
|
||||
#define MAXTRST 5000 /* max size of string value (for ncgen) */
|
||||
|
||||
@ -23,7 +24,7 @@ extern int natts; /* number of attributes */
|
||||
extern int nvdims; /* number of dimensions for variables */
|
||||
extern int dimnum; /* dimension number index for variables */
|
||||
extern int varnum; /* variable number index for attributes */
|
||||
extern int valnum; /* number of values specified for variable */
|
||||
extern size_t valnum; /* number of values specified for variable */
|
||||
extern int rec_dim; /* number of the unlimited dimension, if any */
|
||||
extern size_t rec_len; /* number of elements for a record of data */
|
||||
extern size_t var_len; /* variable length (product of dimensions) */
|
||||
|
Loading…
Reference in New Issue
Block a user