]> git.street.me.uk Git - andy/viking.git/commit - src/dem.c
Fix a crash bug caused by operation on variable inside a macro.
authorQuy Tonthat <qtonthat@gmail.com>
Tue, 9 Oct 2007 00:52:02 +0000 (00:52 +0000)
committerQuy Tonthat <qtonthat@gmail.com>
Tue, 9 Oct 2007 00:52:02 +0000 (00:52 +0000)
commit792a7488a46c20a13d91aba2b25a847b482f79f1
treedd58a1ff5c4ee2501192a745951989e7caa53af4
parent6dd43d9344c8710c21d3fef677a36b75aaa7b2fe
Fix a crash bug caused by operation on variable inside a macro.

Crashes was reported on system with x86_64/gcc 4.2 but seems OK on i386/gcc 4.1
On gcc 4.2, a compiler warning was always given.
On gcc 4.1 the flag O2 suppressed the warning.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
src/dem.c