Skip to content

Commit 0ce6de5

Browse files
committed
Reorder structure members to account for alignment
1 parent 8e4363d commit 0ce6de5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/bcmath/libbcmath/src/bcmath.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@ typedef enum {PLUS, MINUS} sign;
3939
typedef struct bc_struct *bc_num;
4040

4141
typedef struct bc_struct {
42-
sign n_sign;
4342
size_t n_len; /* The number of digits before the decimal point. */
4443
size_t n_scale; /* The number of digits after the decimal point. */
45-
int n_refs; /* The number of pointers to this number. */
4644
char *n_ptr; /* The pointer to the actual storage.
4745
If NULL, n_value points to the inside of another number
4846
(bc_multiply...) and should not be "freed." */
4947
char *n_value; /* The number. Not zero char terminated.
5048
May not point to the same place as n_ptr as
5149
in the case of leading zeros generated. */
50+
int n_refs; /* The number of pointers to this number. */
51+
sign n_sign;
5252
} bc_struct;
5353

5454
#ifdef HAVE_CONFIG_H

0 commit comments

Comments
 (0)