diff options
author | Oskar <[email protected]> | 2024-04-12 19:18:52 +0200 |
---|---|---|
committer | Oskar <[email protected]> | 2024-04-12 19:18:52 +0200 |
commit | 8454a5c30c8f5f17abd377965b61dc0786a08800 (patch) | |
tree | 2a491f7a364c3de23135dd1322a5dae4ef69e993 /editmode.c | |
parent | d6ea48c5be4ec380d2ae18af19ce6107926f58ac (diff) |
Changed types in various functions
Diffstat (limited to 'editmode.c')
-rw-r--r-- | editmode.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -149,9 +149,9 @@ int check_end_newline(char filename[]) { // function that checks if a file ends } -int new_line(char filename[], long new_line_pos_temp) { // creates a new line within a file after a specified line number +int new_line(char filename[], long long new_line_pos_temp) { // creates a new line within a file after a specified line number - long new_line_pos; + long long new_line_pos; if (new_line_pos_temp < 0) { fprintf(stderr, "The new line can not be under 0!\n"); return 1; @@ -203,7 +203,7 @@ int new_line(char filename[], long new_line_pos_temp) { // creates a new line wi } -int remove_line_contents(char filename[], long focus) { // removes contents of a specified line without removing the newline +int remove_line_contents(char *filename, uint64_t focus) { // removes contents of a specified line without removing the newline char *line; size_t start; |