[gnome-network-displays/cc-tmp: 28/80] cc: 0 and 1 are same in in base 2 and 10
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-network-displays/cc-tmp: 28/80] cc: 0 and 1 are same in in base 2 and 10
- Date: Fri, 9 Sep 2022 12:03:50 +0000 (UTC)
commit e319c208586fb178958590aeffcaa5e85f7b430e
Author: Anupam Kumar <kyteinsky gmail com>
Date: Sat Sep 3 12:37:12 2022 +0530
cc: 0 and 1 are same in in base 2 and 10
src/cc/cc-common.h | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/src/cc/cc-common.h b/src/cc/cc-common.h
index f49cabc..ce8fc50 100644
--- a/src/cc/cc-common.h
+++ b/src/cc/cc-common.h
@@ -47,16 +47,16 @@ G_BEGIN_DECLS
typedef enum {
- CC_RWAIT_TYPE_NONE = 0b0,
- CC_RWAIT_TYPE_GET_APP_AVAILABILITY = 0b1 << 0, /* key is `responseType` */
- CC_RWAIT_TYPE_LAUNCH_ERROR = 0b1 << 1, /* all other keys are `type` */
- CC_RWAIT_TYPE_ANSWER = 0b1 << 2,
- CC_RWAIT_TYPE_RECEIVER_STATUS = 0b1 << 3,
- CC_RWAIT_TYPE_MEDIA_STATUS = 0b1 << 4,
- CC_RWAIT_TYPE_PING = 0b1 << 5,
- CC_RWAIT_TYPE_PONG = 0b1 << 6,
- CC_RWAIT_TYPE_CLOSE = 0b1 << 7,
- CC_RWAIT_TYPE_UNKNOWN = 0b1 << 8,
+ CC_RWAIT_TYPE_NONE = 0,
+ CC_RWAIT_TYPE_GET_APP_AVAILABILITY = 1 << 0, /* key is `responseType` */
+ CC_RWAIT_TYPE_LAUNCH_ERROR = 1 << 1, /* all other keys are `type` */
+ CC_RWAIT_TYPE_ANSWER = 1 << 2,
+ CC_RWAIT_TYPE_RECEIVER_STATUS = 1 << 3,
+ CC_RWAIT_TYPE_MEDIA_STATUS = 1 << 4,
+ CC_RWAIT_TYPE_PING = 1 << 5,
+ CC_RWAIT_TYPE_PONG = 1 << 6,
+ CC_RWAIT_TYPE_CLOSE = 1 << 7,
+ CC_RWAIT_TYPE_UNKNOWN = 1 << 8,
} CcReceivedMessageType;
typedef CcReceivedMessageType CcWaitingFor;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]