Index: trunk/ntripclient/ntripclient.c
===================================================================
--- trunk/ntripclient/ntripclient.c	(revision 1587)
+++ trunk/ntripclient/ntripclient.c	(revision 1811)
@@ -1,5 +1,5 @@
 /*
   NTRIP client for POSIX.
-  $Id: ntripclient.c,v 1.46 2008/11/04 15:35:03 stoecker Exp $
+  $Id: ntripclient.c,v 1.47 2009/02/10 12:18:23 stoecker Exp $
   Copyright (C) 2003-2008 by Dirk Stöcker <soft@dstoecker.de>
 
@@ -65,6 +65,6 @@
 
 /* CVS revision and version */
-static char revisionstr[] = "$Revision: 1.46 $";
-static char datestr[]     = "$Date: 2008/11/04 15:35:03 $";
+static char revisionstr[] = "$Revision: 1.47 $";
+static char datestr[]     = "$Date: 2009/02/10 12:18:23 $";
 
 enum MODE { HTTP = 1, RTSP = 2, NTRIP1 = 3, AUTO = 4, UDP = 5, END };
@@ -706,5 +706,6 @@
         if(args.mode == UDP)
         {
-          int session, tim, seq, init;
+          unsigned int session;
+          int tim, seq, init;
           char rtpbuf[1526];
           int i=12, j;
@@ -875,5 +876,6 @@
                     {
                       time_t ct;
-                      int u,v,w;
+                      int u,v;
+                      unsigned int w;
                       u = ((unsigned char)rtpbuf[2]<<8)+(unsigned char)rtpbuf[3];
                       v = ((unsigned char)rtpbuf[4]<<24)+((unsigned char)rtpbuf[5]<<16)
@@ -1145,5 +1147,5 @@
                 "PLAY rtsp://%s%s%s/%s RTSP/1.0\r\n"
                 "CSeq: %d\r\n"
-                "Session: %d\r\n"
+                "Session: %u\r\n"
                 "\r\n",
                 args.server, proxyserver ? ":" : "", proxyserver ? args.port : "",
@@ -1239,5 +1241,5 @@
                             "GET_PARAMETER rtsp://%s%s%s/%s RTSP/1.0\r\n"
                             "CSeq: %d\r\n"
-                            "Session: %d\r\n"
+                            "Session: %u\r\n"
                             "\r\n",
                             args.server, proxyserver ? ":" : "", proxyserver
@@ -1290,5 +1292,5 @@
                   "TEARDOWN rtsp://%s%s%s/%s RTSP/1.0\r\n"
                   "CSeq: %d\r\n"
-                  "Session: %d\r\n"
+                  "Session: %u\r\n"
                   "\r\n",
                   args.server, proxyserver ? ":" : "", proxyserver ? args.port : "",
