mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 04:13:11 +00:00
Ports: Removed now unnecesary patch for the Prince of Persia port
As now strtoimax() is implemented we have no need to replace it to strtol().
This commit is contained in:
parent
13315a6ef1
commit
136588e240
|
@ -1,13 +0,0 @@
|
|||
diff --git a/src/options.c b/src/options.c
|
||||
index 1bfe473..ba13dab 100644
|
||||
--- a/src/options.c
|
||||
+++ b/src/options.c
|
||||
@@ -130,7 +130,7 @@ static int ini_process_##data_type(const char* curr_name, const char* value, con
|
||||
if(strcasecmp(curr_name, option_name) == 0) { \
|
||||
if (strcasecmp(value, "default") != 0) { \
|
||||
int named_value = ini_get_named_value(value, value_names); \
|
||||
- *target = (named_value == INI_NO_VALID_NAME) ? ((data_type) strtoimax(value, NULL, 0)) : ((data_type) named_value); \
|
||||
+ *target = (named_value == INI_NO_VALID_NAME) ? ((data_type) strtol(value, NULL, 0)) : ((data_type) named_value); \
|
||||
} \
|
||||
return 1; /* finished; don't look for more possible options that curr_name can be */ \
|
||||
} \
|
Loading…
Reference in a new issue