summaryrefslogtreecommitdiff
path: root/plugins/control/patches/control-0.0.2a_uint64_t.patch
blob: 888df5ce333749f484415abc734cca7601cdb2c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
diff -ruN control-0.0.2a-old/gateway.c control-0.0.2a/gateway.c
--- control-0.0.2a-old/gateway.c	2008-04-29 00:24:07.000000000 +0200
+++ control-0.0.2a/gateway.c	2008-04-29 00:21:16.000000000 +0200
@@ -100,7 +100,7 @@
 
     if (_stack.poll(100)) {
 
-      uint64 Command = 0;
+      uint64_t Command = 0;
       uint i = 0;
 #if VDRVERSNUM >= 10318
       cTimeMs timeout;
diff -ruN control-0.0.2a-old/keyboard.c control-0.0.2a/keyboard.c
--- control-0.0.2a-old/keyboard.c	2004-07-02 21:24:22.000000000 +0200
+++ control-0.0.2a/keyboard.c	2008-04-29 00:21:32.000000000 +0200
@@ -18,7 +18,7 @@
 
 struct tKbdMap {
   eKbdFunc func;
-  uint64 code;
+  uint64_t code;
 };
 
 
@@ -117,7 +117,7 @@
 
 
 
-bool cCtrlKeyboard::intPut(uint64 Command, bool Repeat, bool Release) {
+bool cCtrlKeyboard::intPut(uint64_t Command, bool Repeat, bool Release) {
 
   bool ret = cRemote::Put(Command, Repeat, Release);
 conLOG_KEYB("%s cKbdRemoteForControl::intPut(0x%016LX)", ret ? "true" : "false", Command);
@@ -126,7 +126,7 @@
 
 
 
-bool cCtrlKeyboard::Put(uint64 Command, bool Repeat, bool Release) {
+bool cCtrlKeyboard::Put(uint64_t Command, bool Repeat, bool Release) {
 
   if (! _pRemote)
     _pRemote = new cCtrlKeyboard();
@@ -136,7 +136,7 @@
 
 
 
-int cCtrlKeyboard::MapCodeToFunc(uint64 Code) {
+int cCtrlKeyboard::MapCodeToFunc(uint64_t Code) {
 
   for (const tKbdMap *p = keyboardKbdMap; p->func != kfNone; p++) {
     if (p->code == Code)
diff -ruN control-0.0.2a-old/keyboard.h control-0.0.2a/keyboard.h
--- control-0.0.2a-old/keyboard.h	2004-07-02 21:24:22.000000000 +0200
+++ control-0.0.2a/keyboard.h	2008-04-29 00:21:37.000000000 +0200
@@ -30,11 +30,11 @@
   cCtrlKeyboard();
   virtual ~cCtrlKeyboard();
 
-  bool intPut(uint64 Command, bool Repeat, bool Release);
+  bool intPut(uint64_t Command, bool Repeat, bool Release);
 
 public:
-  static bool Put(uint64 Command, bool Repeat = false, bool Release = false);
-  static int MapCodeToFunc(uint64 Code);
+  static bool Put(uint64_t Command, bool Repeat = false, bool Release = false);
+  static int MapCodeToFunc(uint64_t Code);
 };