Skip to content

Commit

Permalink
Fixed memory respresentation
Browse files Browse the repository at this point in the history
  • Loading branch information
amnuts committed Feb 19, 2016
1 parent b8d0e89 commit c75245c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpiwire/Board.zep
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Board
ZVAL_STRING(ver_model, (char *)piModelNames[model], 1);
ZVAL_STRING(ver_rev, (char *)piRevisionNames[rev], 1);
ZVAL_STRING(ver_maker, (char *)piMakerNames[maker], 1);
sprintf(mb, "%dMB", mem);
sprintf(mb, "%dMB", piMemorySize[mem]);
ZVAL_STRING(ver_mem, mb, 1);
ZVAL_BOOL(ver_overvolted, overVolted);
ZVAL_LONG(&int_model, model);
Expand Down

0 comments on commit c75245c

Please sign in to comment.