Commit 496fb2a
committed
fix: add const qualifier to y_col pointer in ggml-bitnet-mad.cpp
On Windows with ClangCL, the code at line 811 declares int8_t * but receives a const int8_t *, causing compilation error:
cannot initialize a variable of type 'int8_t *' with an rvalue of type 'const int8_t *'
This fix adds the const qualifier to match the actual pointer type being assigned.1 parent 01eb415 commit 496fb2a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
808 | 808 | | |
809 | 809 | | |
810 | 810 | | |
811 | | - | |
| 811 | + | |
812 | 812 | | |
813 | 813 | | |
814 | 814 | | |
| |||
0 commit comments