Fix a couple of compiler warnings.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1931 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_translate.c b/coregrind/vg_translate.c
index 7863c59..6113df2 100644
--- a/coregrind/vg_translate.c
+++ b/coregrind/vg_translate.c
@@ -2391,7 +2391,7 @@
info.si_signo = VKI_SIGSEGV;
info.si_code = 1; /* address not mapped to object */
- info._sifields._sigfault._addr = orig_addr;
+ info._sifields._sigfault._addr = (void*)orig_addr;
VG_(deliver_signal)(tid, &info, False);
return;
diff --git a/include/vg_skin.h b/include/vg_skin.h
index faf5d72..ba16315 100644
--- a/include/vg_skin.h
+++ b/include/vg_skin.h
@@ -434,6 +434,7 @@
/* Nb: VG_(rename)() declared in stdio.h section above */
extern Int VG_(unlink) ( Char* file_name );
extern Int VG_(stat) ( Char* file_name, struct vki_stat* buf );
+extern Int VG_(fstat) ( Int fd, struct vki_stat* buf );
extern Char* VG_(getcwd) ( Char* buf, Int size );