forked from FFmpeg/FFmpeg
avcodec/jni: use size_t to store structure offsets
This commit is contained in:
parent
6567516a5e
commit
70ba15d2cf
1 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@
|
|||
#define AVCODEC_FFJNI_H
|
||||
|
||||
#include <jni.h>
|
||||
#include <stddef.h>
|
||||
|
||||
/*
|
||||
* Attach permanently a JNI environment to the current thread and retrieve it.
|
||||
|
@ -105,7 +106,7 @@ struct FFJniField {
|
|||
const char *method;
|
||||
const char *signature;
|
||||
enum FFJniFieldType type;
|
||||
int offset;
|
||||
size_t offset;
|
||||
int mandatory;
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue