64 bit portability warnings fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
86898fde4f
commit
e3cb7be56d
4 changed files with 11 additions and 10 deletions
|
|
@ -21,6 +21,7 @@ struct Base {
|
|||
Base(int v = 0) : value(v) {}
|
||||
int value;
|
||||
virtual int method(int v) {
|
||||
return v;
|
||||
}
|
||||
};
|
||||
struct Derived : Base {
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ public:
|
|||
const std::string &invoke(int idx) {
|
||||
return quuxen_[idx]->director_method();
|
||||
}
|
||||
int size() {
|
||||
size_t size() {
|
||||
return quuxen_.size();
|
||||
}
|
||||
private:
|
||||
|
|
@ -86,7 +86,7 @@ public:
|
|||
void push(Quux *elem);
|
||||
Quux *get(int idx);
|
||||
const std::string &invoke(int idx);
|
||||
int size();
|
||||
size_t size();
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue