Skip to content
This repository was archived by the owner on Dec 1, 2021. It is now read-only.

Commit 1669616

Browse files
Fix MSVC compile error, explicit type in aegis::intent
1 parent df07e39 commit 1669616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/aegis/core.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ struct thread_state
7979
/// Gateway intents for masking out events on the websocket.
8080
/// Use as a bitfield with create_bot_t::intents().
8181
// https://github.com/discordapp/discord-api-docs/pull/1307
82-
enum intent {
82+
enum intent : uint32_t {
8383
IntentsDisabled = 0xffffffff, /* Special case, disables intents if none have been defined */
8484
Guilds = (1 << 0),
8585
GuildMembers = (1 << 1),

0 commit comments

Comments
 (0)