]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/httpd.cxx
Update Mac configure script for new ALUT scheme; support --with-alut-framework.
[flightgear.git] / src / Network / httpd.cxx
index 9991b90898d41f78a4fdda74c4e13dbf02f5fdcb..7adc4214d7a2cfff8c7dd35ef042aee738f192f7 100644 (file)
@@ -47,7 +47,7 @@
 
 #include "httpd.hxx"
 
-SG_USING_STD(string);
+using std::string;
 
 bool FGHttpd::open() {
     if ( is_enabled() ) {
@@ -267,7 +267,7 @@ void HttpdChannel::foundTerminator (void) {
         
         SG_LOG( SG_IO, SG_INFO, "size = " << response.length() );
         char ctmp[256];
-        sprintf(ctmp, "Content-Length: %d", response.length());
+        sprintf(ctmp, "Content-Length: %u", (unsigned)response.length());
         push( ctmp );
         push( getTerminator() );