Switch to unified view

a/src/internfile/mimehandler.h b/src/internfile/mimehandler.h
...
...
84
    {
84
    {
85
    m_mimeType = mtype;
85
    m_mimeType = mtype;
86
    return false;
86
    return false;
87
    }
87
    }
88
    virtual bool set_document_data(const std::string& mtype, 
88
    virtual bool set_document_data(const std::string& mtype, 
89
                   const char *cp, unsigned int sz) 
89
                   const char *cp, size_t sz) 
90
    {
90
    {
91
    return set_document_string(mtype, std::string(cp, sz));
91
    return set_document_string(mtype, std::string(cp, sz));
92
    }
92
    }
93
93
94
    virtual void set_docsize(size_t size)
94
    virtual void set_docsize(off_t size)
95
    {
95
    {
96
    char csize[30];
96
    char csize[30];
97
    sprintf(csize, "%lld", (long long)size);
97
    sprintf(csize, "%lld", (long long)size);
98
    m_metaData[cstr_dj_keydocsize] = csize;
98
    m_metaData[cstr_dj_keydocsize] = csize;
99
    }
99
    }