File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ typedef struct t_binfile
55
55
56
56
static void binfile_rewind (t_binfile * x );
57
57
static void binfile_free (t_binfile * x );
58
- static FILE * binfile_open_path (t_binfile * x , char * path , char * mode );
58
+ static FILE * binfile_open_path (t_binfile * x , const char * path , const char * mode );
59
59
static void binfile_read (t_binfile * x , t_symbol * path , t_float max_bytes );
60
60
static void binfile_write (t_binfile * x , t_symbol * path );
61
61
static void binfile_bang (t_binfile * x );
@@ -138,7 +138,7 @@ static void binfile_free(t_binfile *x)
138
138
x -> x_buf_length = 0L ;
139
139
}
140
140
141
- static FILE * binfile_open_path (t_binfile * x , char * path , char * mode )
141
+ static FILE * binfile_open_path (t_binfile * x , const char * path , const char * mode )
142
142
/* path is a string. Up to PATH_BUF_SIZE-1 characters will be copied into x->x_fPath. */
143
143
/* mode should be "rb" or "wb" */
144
144
/* x->x_fPath will be used as a file name to open. */
You can’t perform that action at this time.
0 commit comments