aboutsummaryrefslogtreecommitdiff
path: root/src/l4d1democompat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/l4d1democompat.c')
-rw-r--r--src/l4d1democompat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/l4d1democompat.c b/src/l4d1democompat.c
index 1d27984..4b84dd3 100644
--- a/src/l4d1democompat.c
+++ b/src/l4d1democompat.c
@@ -115,14 +115,14 @@ static void VCALLCONV hook_ReadDemoHeader(struct CDemoFile *this) {
}
#if defined(__clang__)
-__attribute__((naked))
+__attribute((naked))
#elif defined(_MSC_VER)
#error Inadequate inline assembly syntax, use Clang instead.
#else
#error No way to do naked functions! We only support Clang at the moment.
#endif
static int hook_midpoint() {
- __asm__ volatile (
+ __asm volatile (
"push eax\n"
"mov eax, %1\n"
"mov eax, [eax]\n" // dereference this_protocol