Switch to unified view

a/src/query/docseqhist.cpp b/src/query/docseqhist.cpp
...
...
33
// U + Unix time + base64 of udi
33
// U + Unix time + base64 of udi
34
// The U distinguishes udi-based entries from older fn+ipath ones
34
// The U distinguishes udi-based entries from older fn+ipath ones
35
bool RclDHistoryEntry::encode(string& value)
35
bool RclDHistoryEntry::encode(string& value)
36
{
36
{
37
    char chartime[30];
37
    char chartime[30];
38
    sprintf(chartime,"%ld", unixtime);
38
    sprintf(chartime,"%lld", (long long)unixtime);
39
    string budi;
39
    string budi;
40
    base64_encode(udi, budi);
40
    base64_encode(udi, budi);
41
    value = string("U ") + string(chartime) + " " + budi;
41
    value = string("U ") + string(chartime) + " " + budi;
42
    return true;
42
    return true;
43
}
43
}
...
...
159
159
160
int DocSequenceHistory::getResCnt()
160
int DocSequenceHistory::getResCnt()
161
{   
161
{   
162
    if (m_hlist.empty())
162
    if (m_hlist.empty())
163
    m_hlist = getDocHistory(m_hist);
163
    m_hlist = getDocHistory(m_hist);
164
    return m_hlist.size();
164
    return int(m_hlist.size());
165
}
165
}