diff options
author | Georgi Gerganov <ggerganov@gmail.com> | 2023-05-20 10:14:31 +0300 |
---|---|---|
committer | Georgi Gerganov <ggerganov@gmail.com> | 2023-05-20 10:14:43 +0300 |
commit | 8a203f9fa1b24e010be8f35ebbbd6786293684cb (patch) | |
tree | 64fb298b47d2c342dc0fce70740f068f2f2b457c /llama.cpp | |
parent | 4fd3e29297e3246a7be291932c115636fadb0f52 (diff) |
llama : fix compile warnings in llama_set_state_data()
Diffstat (limited to 'llama.cpp')
-rw-r--r-- | llama.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2618,8 +2618,8 @@ size_t llama_copy_state_data(struct llama_context * ctx, uint8_t * dst) { } // Sets the state reading from the specified source address -size_t llama_set_state_data(struct llama_context * ctx, const uint8_t * src) { - const uint8_t * inp = src; +size_t llama_set_state_data(struct llama_context * ctx, uint8_t * src) { + uint8_t * inp = src; // set rng { |