File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ PHP_METHOD(vtiful_format, underline)
159159 format_object * obj = Z_FORMAT_P (getThis ());
160160
161161 if (obj -> ptr .format ) {
162- format_set_underline (obj -> ptr .format , ( uint8_t ) style );
162+ format_set_underline (obj -> ptr .format , style );
163163 }
164164}
165165/* }}} */
@@ -187,7 +187,7 @@ PHP_METHOD(vtiful_format, align)
187187 }
188188
189189 if (obj -> ptr .format ) {
190- format_set_align (obj -> ptr .format , ( uint8_t ) Z_LVAL_P (arg ));
190+ format_set_align (obj -> ptr .format , Z_LVAL_P (arg ));
191191 }
192192 }
193193}
@@ -208,7 +208,7 @@ PHP_METHOD(vtiful_format, fontColor)
208208 format_object * obj = Z_FORMAT_P (getThis ());
209209
210210 if (obj -> ptr .format ) {
211- format_set_font_color (obj -> ptr .format , ( uint8_t ) color );
211+ format_set_font_color (obj -> ptr .format , color );
212212 }
213213}
214214/* }}} */
@@ -339,7 +339,7 @@ PHP_METHOD(vtiful_format, border)
339339 format_object * obj = Z_FORMAT_P (getThis ());
340340
341341 if (obj -> ptr .format ) {
342- format_set_border (obj -> ptr .format , ( uint8_t ) style );
342+ format_set_border (obj -> ptr .format , style );
343343 }
344344}
345345/* }}} */
You can’t perform that action at this time.
0 commit comments