]> www.vanbest.org Git - sasc-ng.git/commitdiff
sasc: fix gcc 4.3.x compile
authorleslie <unknown>
Tue, 21 Jul 2009 05:31:10 +0000 (13:31 +0800)
committerleslie <unknown>
Tue, 21 Jul 2009 05:31:10 +0000 (13:31 +0800)
contrib/sasc-ng/dvblb_plugins/plugin_cam.c
contrib/sasc-ng/sc/thread.cpp

index 14ff64d8e6813c5114ba7b66e569d4deb9d471a4..46e1664bfdb301ad52654c27c41faf319f690491 100644 (file)
@@ -628,7 +628,7 @@ static void usermsg_cam(char * str) {
     }
     printf("User Message %s data: %s\n", str, data);
     outstr = sc->SVDRPCommand((const char *)str, (const char *)data, res);
-    printf(outstr);
+    printf("%s",*outstr);
     printf("User Message %s returned: %d\n", str, res);
   }
 }
index b4fd4567b2cdcee33a1c8fdd3bc865eebfd41c7f..9d1eb8c9b3da3f3f2456d72c417022b5e6aa594a 100644 (file)
@@ -203,7 +203,7 @@ void cMutex::Unlock(void)
          active = running = false;
          childTid = 0;
          description = NULL;
-         SetDescription(Description);
+         SetDescription("%s",Description);
        }
 
        cThread::~cThread()