Kill lots of warnings in DtSvc.

This commit is contained in:
Pascal Stumpf
2013-07-21 22:55:09 +02:00
committed by Jon Trulson
parent 0d7568e843
commit 8f98ac92cd
42 changed files with 275 additions and 185 deletions

View File

@@ -125,7 +125,7 @@ _DtVectorizeInPlace(
vector. There is one more element than separator characters. */
num_pieces = 1;
nextc = string;
while (nextc = DtStrchr(nextc, separator))
while ((nextc = DtStrchr(nextc, separator)))
{
num_pieces++;
nextc++;
@@ -140,7 +140,7 @@ _DtVectorizeInPlace(
nextc = string;
/* Parse out each component, terminating it with a NULL */
while (nextc = DtStrchr(nextc, separator))
while ((nextc = DtStrchr(nextc, separator)))
{
*nextc = '\0';
nextc++;