summaryrefslogtreecommitdiff
path: root/crashrep/source/unx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2009-09-09 11:45:13 +0200
committerMathias Bauer <mba@openoffice.org>2009-09-09 11:45:13 +0200
commitf088879bac7cb8149b116eea22a51cfb54012b3c (patch)
tree7fe914382ccef332b3c7579ba6dc09eeb8b3657f /crashrep/source/unx
parent78fe4e5d494327cd0d0ea21f1663b1722583629e (diff)
parentb4f7e9e44292d81c4645e790545461943fb003c6 (diff)
merge commit to DEV300_m57
Diffstat (limited to 'crashrep/source/unx')
-rwxr-xr-xcrashrep/source/unx/main.cxx4
-rwxr-xr-xcrashrep/source/unx/makefile.mk2
2 files changed, 3 insertions, 3 deletions
diff --git a/crashrep/source/unx/main.cxx b/crashrep/source/unx/main.cxx
index 4c043419f9d6..ca24d508ae07 100755
--- a/crashrep/source/unx/main.cxx
+++ b/crashrep/source/unx/main.cxx
@@ -357,7 +357,7 @@ bool SendHTTPRequest(
"SOAPAction: \"\"\r\n\r\n",
pszServer,
uPort,
- (int)length
+ static_cast<int>(length)
);
else
sprintf( buffer,
@@ -365,7 +365,7 @@ bool SendHTTPRequest(
"Content-Type: text/xml; charset=\"utf-8\"\r\n"
"Content-Length: %d\r\n"
"SOAPAction: \"\"\r\n\r\n",
- (int)length
+ static_cast<int>(length)
);
if ( g_bDebugMode )
diff --git a/crashrep/source/unx/makefile.mk b/crashrep/source/unx/makefile.mk
index 54628be1f2f7..2f8be8f96a76 100755
--- a/crashrep/source/unx/makefile.mk
+++ b/crashrep/source/unx/makefile.mk
@@ -63,7 +63,7 @@ APP1RPATH=BRAND
.IF "$(OS)" != "MACOSX"
APP1STDLIBS=$(DYNAMIC) -lXext -lX11
.ENDIF
-.IF "$(OS)" != "FREEBSD" && "$(OS)" != "MACOSX"
+.IF "$(OS)" != "FREEBSD" && "$(OS)" != "MACOSX" && "$(OS)"!="NETBSD"
APP1STDLIBS+=-ldl -lnsl
.ENDIF
.IF "$(OS)" == "SOLARIS"