Skip to content

Commit

Permalink
Merge pull request #31 from MrcSnm/patch-1
Browse files Browse the repository at this point in the history
RIFFChunkId was generating TLS calls
  • Loading branch information
p0nce committed Feb 28, 2023
2 parents af7d490 + 24f4e54 commit d17cb35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/audioformats/io.d
Expand Up @@ -315,7 +315,7 @@ struct IOCallbacks
template RIFFChunkId(string id)
{
static assert(id.length == 4);
uint RIFFChunkId = (cast(ubyte)(id[0]) << 24)
__gshared uint RIFFChunkId = (cast(ubyte)(id[0]) << 24)
| (cast(ubyte)(id[1]) << 16)
| (cast(ubyte)(id[2]) << 8)
| (cast(ubyte)(id[3]));
Expand Down

0 comments on commit d17cb35

Please sign in to comment.