Skip to content

Commit 24d52b5

Browse files
committed
chore: fixed C lint errors
1 parent 8fe91fb commit 24d52b5

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/ndarray/base/nullary/src

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ int8_t stdlib_ndarray_f_as_t_0d( struct ndarray *arrays[], void *fcn ) {
192192
*/
193193
int8_t stdlib_ndarray_f_as_t_1d( struct ndarray *arrays[], void *fcn ) {
194194
typedef uint16_t func_type( void );
195-
func_type *f = (func_type *)fcn;
195+
func_type *f = (const func_type *)fcn;
196196
STDLIB_NDARRAY_NULLARY_1D_LOOP_CLBK( float )
197197
return 0;
198198
}

0 commit comments

Comments
 (0)