Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
rryan committed Feb 24, 2015
1 parent ff49c01 commit 1f953c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sampleutil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ CSAMPLE* SampleUtil::alloc(int size) {
}
// Shift
void* pAligned = (void*)(((size_t)pUnaligned & ~(alignment - 1)) + alignment);
// Store pointer to the original buffer in the slack spcae before the
// Store pointer to the original buffer in the slack space before the
// shifted pointer.
*((void**)(pAligned) - 1) = pUnaligned;
return static_cast<CSAMPLE*>(pAligned);
Expand Down

0 comments on commit 1f953c9

Please sign in to comment.