Fix for new GCC versions

8f1785148d
This commit is contained in:
MoneroOcean
2018-03-26 18:06:41 +02:00
parent 1da5dddbbe
commit 26c6ff8075

View File

@@ -217,11 +217,11 @@ DISABLE_VS_WARNINGS(4200)
struct {
ec_point a, b;
} ab[];
};
} rcs;
POP_WARNINGS
static inline size_t rs_comm_size(size_t pubs_count) {
return sizeof(rs_comm) + pubs_count * sizeof(rs_comm().ab[0]);
return sizeof(rs_comm) + pubs_count * sizeof(rcs.ab[0]);
}
void crypto_ops::generate_ring_signature(const hash &prefix_hash, const key_image &image,