Move from 32 bits alignement constraint to 64 bits alignement constraint.

This commit is contained in:
Patrick Pelissier committed 2017-08-22 23:30:20 +02:00
1 parent 889865bbf8
commit d008494215
1 file changed
+2 -2
+2 -2
View File
@@ -863,7 +863,7 @@ string_in_str(string_t v, FILE *f)
#ifndef __cplusplus
# define STRING_CTE(s) \
((const string_t){{.size = sizeof(s)-1, .alloc = sizeof(s), \
.ptr = ((struct { int _n; char _d[sizeof (s)]; }){ 0, s })._d }})
.ptr = ((struct { long long _n; char _d[sizeof (s)]; }){ 0, s })._d }})
#else
namespace m_string {
template <int N>
@@ -871,7 +871,7 @@ namespace m_string {
string_t string;
union {
char str[N];
int i;
long long i;
};
inline m_aligned_string(const char lstr[])
{