git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix deprecated conversion from string constant to char* by using const char* instead...
[enigma2.git]
/
lib
/
base
/
object.h
diff --git
a/lib/base/object.h
b/lib/base/object.h
index 67a4606c90b7c2280c9523520276b095838e6df8..1723a885d994c9188815a58d2207590b7af38daf 100644
(file)
--- a/
lib/base/object.h
+++ b/
lib/base/object.h
@@
-140,7
+140,7
@@
public:
if (!ref) \
delete this; \
}
if (!ref) \
delete this; \
}
- #elif defined(__i386__)
+ #elif defined(__i386__)
|| defined(__x86_64__)
#define DECLARE_REF(x) \
private: oRefCount ref; \
public: void AddRef(); \
#define DECLARE_REF(x) \
private: oRefCount ref; \
public: void AddRef(); \
@@
-151,14
+151,14
@@
public:
__asm__ __volatile__( \
" lock ; incl %0 \n" \
: "=m" (ref.count) \
__asm__ __volatile__( \
" lock ; incl %0 \n" \
: "=m" (ref.count) \
- : "m" (ref.count); \
+ : "m" (ref.count)
)
; \
} \
void c::Release() \
{ \
__asm__ __volatile__( \
" lock ; decl %0 \n" \
: "=m" (ref.count) \
} \
void c::Release() \
{ \
__asm__ __volatile__( \
" lock ; decl %0 \n" \
: "=m" (ref.count) \
- : "m" (ref.count); \
+ : "m" (ref.count)
)
; \
if (!ref) \
delete this; \
}
if (!ref) \
delete this; \
}