From 0d5ba26ccd9355696daffb76f465f29abd714b10 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 17 May 2005 08:46:41 +0000 Subject: [PATCH] * external.cc (cygwin_internal): Avoid compiler warning. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/external.cc | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 08224861b..fbce5e289 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2005-05-17 Corinna Vinschen + + * external.cc (cygwin_internal): Avoid compiler warning. + 2005-05-16 Christopher Faylor * dcrt0.cc (dll_crt0_0): Don't do fixup_after_exec if dynamically diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc index 6d618c961..04604b365 100644 --- a/winsup/cygwin/external.cc +++ b/winsup/cygwin/external.cc @@ -323,6 +323,7 @@ cygwin_internal (cygwin_getinfo_types t, ...) try_to_debug (); break; default: - return (DWORD) -1; + break; } + return (unsigned long) -1; }