]> xenbits.xensource.com Git - libvirt.git/commit
Fix build for SystemTap 1.0
authorMatthias Bolte <matthias.bolte@googlemail.com>
Fri, 22 Oct 2010 21:36:42 +0000 (23:36 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Tue, 26 Oct 2010 11:28:32 +0000 (13:28 +0200)
commitcbe719feb20ec823084655bcb9d49c88d482e902
treea27c7c2c4f532ddf7a4558b12883129122f5e065
parent608554f237855f1bdec81f5bcaa2a96a5954ee80
Fix build for SystemTap 1.0

With SystemTap 1.0 a part of the generated macros in probes.h
expands to:

volatile __typeof__(((name))) arg2 = (name);

GCC reports an 'invalid initialize' error when name has type
char[]. Therfore, add casts to char* to avoid this.
daemon/libvirtd.c
daemon/remote.c