Skip to content

Commit

Permalink
Change long to int64_t
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens-H committed Oct 28, 2023
1 parent 539038e commit e4008f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/jdbc/src/jni/duckdb_java.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ void _duckdb_jdbc_appender_append_double(JNIEnv *env, jclass, jobject appender_r
}

void _duckdb_jdbc_appender_append_timestamp(JNIEnv *env, jclass, jobject appender_ref_buf, jlong value) {
timestamp_t timestamp = timestamp_t((long)value);
timestamp_t timestamp = timestamp_t((int64_t)value);
get_appender(env, appender_ref_buf)->Append(Value::TIMESTAMP(timestamp));
}

Expand Down

0 comments on commit e4008f0

Please sign in to comment.