mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
fix compil warrnings
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0940f4a767
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-06-02 (Sun, 02 Jun 2013)
Origin message was:
------------------
-fix compil warrnings
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <set>
|
||||
#include <map>
|
||||
@@ -171,7 +172,7 @@ void cYTFeedParser::decodeUrl(std::string &url)
|
||||
void cYTFeedParser::splitString(std::string &str, std::string delim, std::vector<std::string> &strlist, int start)
|
||||
{
|
||||
strlist.clear();
|
||||
int end = 0;
|
||||
unsigned int end = 0;
|
||||
while ((end = str.find(delim, start)) != std::string::npos) {
|
||||
strlist.push_back(str.substr(start, end - start));
|
||||
start = end + delim.size();
|
||||
@@ -181,7 +182,7 @@ void cYTFeedParser::splitString(std::string &str, std::string delim, std::vector
|
||||
|
||||
void cYTFeedParser::splitString(std::string &str, std::string delim, std::map<std::string,std::string> &strmap, int start)
|
||||
{
|
||||
int end = 0;
|
||||
unsigned int end = 0;
|
||||
if ((end = str.find(delim, start)) != std::string::npos) {
|
||||
strmap[str.substr(start, end - start)] = str.substr(end - start + delim.size());
|
||||
}
|
||||
|
Reference in New Issue
Block a user