fix character loading on bigendian #1130

pull/1190/head
nick black 4 years ago
parent e7f208342f
commit e1201c7c30
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -971,7 +971,6 @@ pool_blit_direct(egcpool* pool, cell* c, const char* gcluster, int bytes, int co
if(bytes <= 4){ if(bytes <= 4){
c->gcluster = 0; c->gcluster = 0;
memcpy(&c->gcluster, gcluster, bytes); memcpy(&c->gcluster, gcluster, bytes);
c->gcluster = htole(c->gcluster);
return bytes; return bytes;
} }
int eoffset = egcpool_stash(pool, gcluster, bytes); int eoffset = egcpool_stash(pool, gcluster, bytes);

Loading…
Cancel
Save