mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Use an unsigned number for the refcount of bcmath objects
This commit is contained in:
parent
5dc11de558
commit
d2d4596f20
1 changed files with 5 additions and 5 deletions
|
@ -39,11 +39,11 @@ typedef enum {PLUS, MINUS} sign;
|
|||
typedef struct bc_struct *bc_num;
|
||||
|
||||
typedef struct bc_struct {
|
||||
size_t n_len; /* The number of digits before the decimal point. */
|
||||
size_t n_scale; /* The number of digits after the decimal point. */
|
||||
char *n_value; /* The number. Not zero char terminated. */
|
||||
int n_refs; /* The number of pointers to this number. */
|
||||
sign n_sign;
|
||||
size_t n_len; /* The number of digits before the decimal point. */
|
||||
size_t n_scale; /* The number of digits after the decimal point. */
|
||||
char *n_value; /* The number. Not zero char terminated. */
|
||||
unsigned int n_refs; /* The number of pointers to this number. */
|
||||
sign n_sign;
|
||||
} bc_struct;
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue